diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-09-04 15:19:42 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-09-05 11:26:58 +0100 |
commit | d70fc2833417750a21f05e651ee776efb538bf05 (patch) | |
tree | 3bd08b5c0ffd4b7850728181d7030e1bba164951 /src/src/dns.c | |
parent | f3facb664cf601a2cafb1368d30976b46a464cdf (diff) | |
download | exim4-d70fc2833417750a21f05e651ee776efb538bf05.tar.gz |
tidying
Diffstat (limited to 'src/src/dns.c')
-rw-r--r-- | src/src/dns.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/src/dns.c b/src/src/dns.c index b309207cf..a1d567b1f 100644 --- a/src/src/dns.c +++ b/src/src/dns.c @@ -10,7 +10,6 @@ #include "exim.h" - /************************************************* * Fake DNS resolver * *************************************************/ @@ -733,9 +732,9 @@ for (dns_record * rr = dns_next_rr(dnsa, &dnss, RESET_AUTHORITY); /* Skip the SOA serial, refresh, retry & expire. Grab the TTL */ - if (p > dnsa->answer + dnsa->answerlen - 5 * NS_INT32SZ) + if (p > dnsa->answer + dnsa->answerlen - 5 * INT32SZ) break; - p += 4 * NS_INT32SZ; + p += 4 * INT32SZ; GETLONG(ttl, p); return time(NULL) + ttl; |