From d386103631ccee7c6b5d558311816c6aecc372e4 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 20 May 2014 01:07:13 +0200 Subject: Remove qmail-remote workaround that Dan Bernstein added on 1996-10-03... ...to work around a bug in BIND versions earlier than version 4.9.4 We don't use the code any more but it does no harm. --- dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns.c b/dns.c index dc3bd84..bed2bd2 100644 --- a/dns.c +++ b/dns.c @@ -211,7 +211,7 @@ stralloc *sa; if (!sa->len) return loop; if (sa->s[sa->len - 1] == ']') return loop; if (sa->s[sa->len - 1] == '.') { --sa->len; continue; } - switch(resolve(sa,T_ANY)) + switch(resolve(sa,T_CNAME)) { case DNS_MEM: return DNS_MEM; case DNS_SOFT: return DNS_SOFT; -- cgit v1.2.3