git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78cc8a2
)
Testsuite: fix operator precedence in dns_extract_auth_name()
author
Jeremy Harris
<jgh@exim.org>
Mon, 22 Jun 2015 12:55:12 +0000
(14:55 +0200)
committer
Heiko Schlittermann (HS12)
<hs@schlittermann.de>
Mon, 22 Jun 2015 12:55:45 +0000
(14:55 +0200)
src/src/dns.c
patch
|
blob
|
history
diff --git
a/src/src/dns.c
b/src/src/dns.c
index dbe331ea53e341a905bbd7ed610d0ff81fa348e6..64958d9830e34e3e7975e26eb1c64978a41095f4 100644
(file)
--- 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;
}