diff options
| author | manuel <manuel@mausz.at> | 2014-05-20 01:07:13 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2014-05-20 01:07:13 +0200 |
| commit | d386103631ccee7c6b5d558311816c6aecc372e4 (patch) | |
| tree | 9ab62d94bde365f5b7a723918f0ca8b7dfb15a9c /dns.c | |
| parent | aafb377061b8926de4f3d8bddb204263cc45aa9c (diff) | |
| download | qmail-d386103631ccee7c6b5d558311816c6aecc372e4.tar.gz qmail-d386103631ccee7c6b5d558311816c6aecc372e4.tar.bz2 qmail-d386103631ccee7c6b5d558311816c6aecc372e4.zip | |
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.
Diffstat (limited to 'dns.c')
| -rw-r--r-- | dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -211,7 +211,7 @@ stralloc *sa; | |||
| 211 | if (!sa->len) return loop; | 211 | if (!sa->len) return loop; |
| 212 | if (sa->s[sa->len - 1] == ']') return loop; | 212 | if (sa->s[sa->len - 1] == ']') return loop; |
| 213 | if (sa->s[sa->len - 1] == '.') { --sa->len; continue; } | 213 | if (sa->s[sa->len - 1] == '.') { --sa->len; continue; } |
| 214 | switch(resolve(sa,T_ANY)) | 214 | switch(resolve(sa,T_CNAME)) |
| 215 | { | 215 | { |
| 216 | case DNS_MEM: return DNS_MEM; | 216 | case DNS_MEM: return DNS_MEM; |
| 217 | case DNS_SOFT: return DNS_SOFT; | 217 | case DNS_SOFT: return DNS_SOFT; |
