]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Remove unneeded newlines and improve indentation in remote control
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 4 Jan 2024 16:06:15 +0000 (17:06 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 4 Jan 2024 16:06:15 +0000 (17:06 +0100)
  code.

daemon/remote.c
doc/Changelog
iterator/iter_fwd.c
iterator/iter_hints.c

index 3eb711ce64285ad8bc960d6eaa2225e9e42e22c9..7945579ff1011f7cae7a68ced4528971d4f3dc65 100644 (file)
@@ -3181,10 +3181,10 @@ execute_cmd(struct daemon_remote* rc, RES* ssl, char* cmd,
                do_flush_bogus(ssl, worker);
        } else if(cmdcmp(p, "flush_negative", 14)) {
                do_flush_negative(ssl, worker);
-    } else if(cmdcmp(p, "rpz_enable", 10)) {
-        do_rpz_enable(ssl, worker, skipwhite(p+10));
-    } else if(cmdcmp(p, "rpz_disable", 11)) {
-        do_rpz_disable(ssl, worker, skipwhite(p+11));
+       } else if(cmdcmp(p, "rpz_enable", 10)) {
+               do_rpz_enable(ssl, worker, skipwhite(p+10));
+       } else if(cmdcmp(p, "rpz_disable", 11)) {
+               do_rpz_disable(ssl, worker, skipwhite(p+11));
        } else {
                (void)ssl_printf(ssl, "error unknown command '%s'\n", p);
        }
index dbc625f007c0d5f438f37019c1bac32efa3c0346..5cf733e14a1630445d625f885e62ef0c4b342d9b 100644 (file)
@@ -1,3 +1,7 @@
+4 January 2024: Wouter
+       - Remove unneeded newlines and improve indentation in remote control
+         code.
+
 3 January 2024: Wouter
        - Merge #980: DoH: reject non-h2 early. To fix #979: Improve errors
          for non-HTTP/2 DoH clients.
index 151372912476058ec8fd8ca4b1927eaf745d5d28..c4b2411297e34067e2c302b04b031fec85639928 100644 (file)
@@ -523,4 +523,3 @@ forwards_delete_stub_hole(struct iter_forwards* fwd, uint16_t c, uint8_t* nm)
        fwd_zone_free(z);
        fwd_init_parents(fwd);
 }
-
index 6b56daaf1f275ebb67aa08546e161628b0f65041..4f86f3676a29db321b6a0e61140f2dcc7bc30f88 100644 (file)
@@ -560,4 +560,3 @@ hints_delete_stub(struct iter_hints* hints, uint16_t c, uint8_t* nm)
        hints_stub_free(z);
        name_tree_init_parents(&hints->tree);
 }
-