]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix compile on Solaris for unbound-checkconf.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 23 Mar 2020 16:26:06 +0000 (17:26 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Mon, 23 Mar 2020 16:26:06 +0000 (17:26 +0100)
doc/Changelog
smallapp/unbound-checkconf.c

index a63b311b8b9bb9516adab81e34dd852c6d54e6c7..0551486bc9cb613bfdfac2df6f1522bf5c7c2e0d 100644 (file)
@@ -1,3 +1,6 @@
+23 March 2020: Wouter
+       - Fix compile on Solaris for unbound-checkconf.
+
 20 March 2020: George
        - Merge PR #198 from fobser: Declare lz_enter_rr_into_zone() static, it's
          only used in this file.
index 685f75b39524113844c75c6f0c1139e9283caca1..3fc638cae980794b78e6e1cfcb0b49812ac1c100 100644 (file)
@@ -705,7 +705,7 @@ check_auth(struct config_file* cfg)
 {
        int is_rpz = 0;
        struct auth_zones* az = auth_zones_create();
-       if(!az || !auth_zones_apply_cfg(az, cfg, 0i, &is_rpz)) {
+       if(!az || !auth_zones_apply_cfg(az, cfg, 0, &is_rpz)) {
                fatal_exit("Could not setup authority zones");
        }
        auth_zones_delete(az);