summaryrefslogtreecommitdiff
path: root/src/src/dns.c
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-09-04 15:19:42 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-09-05 11:26:58 +0100
commitd70fc2833417750a21f05e651ee776efb538bf05 (patch)
tree3bd08b5c0ffd4b7850728181d7030e1bba164951 /src/src/dns.c
parentf3facb664cf601a2cafb1368d30976b46a464cdf (diff)
downloadexim4-d70fc2833417750a21f05e651ee776efb538bf05.tar.gz
tidying
Diffstat (limited to 'src/src/dns.c')
-rw-r--r--src/src/dns.c5
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;