]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Nicer spelling and layout.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 25 Jun 2019 13:14:07 +0000 (15:14 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 25 Jun 2019 13:14:07 +0000 (15:14 +0200)
smallapp/unbound-checkconf.c

index ced35d695ea9d6c18ef85e98a5626401781e609a..10c9c5c595d90f5b65545f53992a837c108fabb4 100644 (file)
@@ -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);
                                }
                        }
                }