- review fix to remove duplicate error printout.

This commit is contained in:
W.C.A. Wijngaards 2021-07-16 10:53:53 +02:00
parent 9e712e8a0b
commit 2a8d1a6d10
2 changed files with 2 additions and 5 deletions

View file

@ -1359,11 +1359,7 @@ do_datas_add(RES* ssl, struct local_zones* zones)
if(buf[0] == 0x04 && buf[1] == 0)
break; /* end of transmission */
line++;
if(!perform_data_add(ssl, zones, buf, line)) {
if(!ssl_printf(ssl, "error for input line: %s\n", buf))
return;
}
else
if(perform_data_add(ssl, zones, buf, line))
num++;
}
(void)ssl_printf(ssl, "added %d datas\n", num);

View file

@ -6,6 +6,7 @@
- Fix spelling in localzone.h comment.
- Fix unbound-control local_data and local_datas to print detailed
syntax errors.
- review fix to remove duplicate error printout.
6 July 2021: Wouter
- iana portlist update.