From: W.C.A. Wijngaards Date: Tue, 25 Jun 2019 13:14:07 +0000 (+0200) Subject: Nicer spelling and layout. X-Git-Tag: release-1.9.3rc1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36819adcc210a2d15aae57a4c3ee1a6cab7ff512;p=thirdparty%2Funbound.git Nicer spelling and layout. --- diff --git a/smallapp/unbound-checkconf.c b/smallapp/unbound-checkconf.c index ced35d695..10c9c5c59 100644 --- a/smallapp/unbound-checkconf.c +++ b/smallapp/unbound-checkconf.c @@ -146,7 +146,7 @@ check_mod(struct config_file* cfg, struct module_func_block* fb) edns_known_options_delete(&env); } -/** true is addr is a localhost address, 127.0.0.1 or ::1 (@port) */ +/** true if addr is a localhost address, 127.0.0.1 or ::1 (@port) */ static int str_addr_is_localhost(const char* a) { @@ -165,14 +165,16 @@ donotquerylocalhostcheck(struct config_file* cfg) for(p=cfg->forwards; p; p=p->next) { for(s=p->addrs; s; s=s->next) { if(str_addr_is_localhost(s->str)) { - fprintf(stderr, "unbound-checkconf: warning: forward-addr: '%s' is specified for forward-zone: '%s', but do-not-query-localhost: yes means that the address will not be used for lookups.\n", s->str, p->name); + fprintf(stderr, "unbound-checkconf: warning: forward-addr: '%s' is specified for forward-zone: '%s', but do-not-query-localhost: yes means that the address will not be used for lookups.\n", + s->str, p->name); } } } for(p=cfg->stubs; p; p=p->next) { for(s=p->addrs; s; s=s->next) { if(str_addr_is_localhost(s->str)) { - fprintf(stderr, "unbound-checkconf: warning: stub-addr: '%s' is specified for stub-zone: '%s', but do-not-query-localhost: yes means that the address will not be used for lookups.\n", s->str, p->name); + fprintf(stderr, "unbound-checkconf: warning: stub-addr: '%s' is specified for stub-zone: '%s', but do-not-query-localhost: yes means that the address will not be used for lookups.\n", + s->str, p->name); } } }