X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsrc%2Fdns.c;h=a1d567b1f007b097264bbf261efdfa9c3aa5631a;hb=d70fc2833417750a21f05e651ee776efb538bf05;hp=b309207cfd43dd6cf90781a71eb2ccaf6ba4b425;hpb=f3facb664cf601a2cafb1368d30976b46a464cdf;p=exim.git 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;