Debug: fix coding in dnssec reporting. Bug 2205
authorJeremy Harris <jgh146exb@wizmail.org>
Fri, 1 Dec 2017 22:43:19 +0000 (22:43 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Fri, 1 Dec 2017 22:44:58 +0000 (22:44 +0000)
src/src/host.c

index 05bde3fb2af371c4a6e2c2bfdd54782190c6e35e..1f0d91959b9f1982e2cfedeba4328c96aadb338e 100644 (file)
@@ -2612,8 +2612,8 @@ if ((whichrrs & HOST_FIND_BY_SRV) != 0)
 
   DEBUG(D_dns)
     if ((dnssec_request || dnssec_require)
-       & !dns_is_secure(&dnsa)
-       & dns_is_aa(&dnsa))
+       && !dns_is_secure(&dnsa)
+       && dns_is_aa(&dnsa))
       debug_printf("DNS lookup of %.256s (SRV) requested AD, but got AA\n", host->name);
 
   if (dnssec_request)