]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- review fix to remove duplicate error printout.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Jul 2021 08:53:53 +0000 (10:53 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Jul 2021 08:53:53 +0000 (10:53 +0200)
daemon/remote.c
doc/Changelog

index 4cba37895a1fcff8bdf5097482b33ee60ec13e8c..dd17bff91fc45f9ab99ff2a42d50345da68a50f8 100644 (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);
index f97944e3ea7e5bf529e7805fdcc66173cfc5034c..0d77c545234369694108a0d1bddeb213b03bfc81 100644 (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.