From: W.C.A. Wijngaards Date: Fri, 16 Jul 2021 08:53:53 +0000 (+0200) Subject: - review fix to remove duplicate error printout. X-Git-Tag: release-1.13.2rc1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a8d1a6d10ab4ad1c16d6e820ecd7fc2046f25f6;p=thirdparty%2Funbound.git - review fix to remove duplicate error printout. --- diff --git a/daemon/remote.c b/daemon/remote.c index 4cba37895..dd17bff91 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -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); diff --git a/doc/Changelog b/doc/Changelog index f97944e3e..0d77c5452 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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.