From: W.C.A. Wijngaards Date: Mon, 23 Mar 2020 16:26:06 +0000 (+0100) Subject: - Fix compile on Solaris for unbound-checkconf. X-Git-Tag: release-1.11.0~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cca5cfc88ff84fa8d6e5c619f3f31aa21bb33b5f;p=thirdparty%2Funbound.git - Fix compile on Solaris for unbound-checkconf. --- diff --git a/doc/Changelog b/doc/Changelog index a63b311b8..0551486bc 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/smallapp/unbound-checkconf.c b/smallapp/unbound-checkconf.c index 685f75b39..3fc638cae 100644 --- a/smallapp/unbound-checkconf.c +++ b/smallapp/unbound-checkconf.c @@ -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);