diff options
author | Jeremy Harris <jgh@exim.org> | 2015-06-22 14:55:12 +0200 |
---|---|---|
committer | Heiko Schlittermann (HS12) <hs@schlittermann.de> | 2015-06-22 14:55:45 +0200 |
commit | 47c209581825b5425b4d0c50371fa7f4aa3516c7 (patch) | |
tree | 171cdf626ca84be4752e9e7414faa976917b4bda | |
parent | 78cc8a23961c969fb7ca66e694446d2e1f7abc98 (diff) |
Testsuite: fix operator precedence in dns_extract_auth_name()
-rw-r--r-- | src/src/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/dns.c b/src/src/dns.c index dbe331ea5..64958d983 100644 --- a/src/src/dns.c +++ b/src/src/dns.c @@ -424,7 +424,7 @@ if (!h->nscount || !h->aa) return NULL; for (rr = dns_next_rr((dns_answer*) dnsa, &dnss, RESET_AUTHORITY); rr; rr = dns_next_rr((dns_answer*) dnsa, &dnss, RESET_NEXT)) - if (rr->type == h->ancount ? T_NS : T_SOA) return rr->name; + if (rr->type == (h->ancount ? T_NS : T_SOA)) return rr->name; return NULL; } |