diff options
| author | 2008-04-18 18:25:56 +0000 | |
|---|---|---|
| committer | 2008-04-18 18:25:56 +0000 | |
| commit | 955dfd805df45f63aba037bcb506e1071afd54ef (patch) | |
| tree | 7c33a2f1e84f882ae4df513c4a7b6c85864b5d5b /src/dns.cpp | |
| parent | Add operator new[] and delete[], otherwise we can and will get crashes on usi... (diff) | |
Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, lots of thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
| -rw-r--r-- | src/dns.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index 4bb2da020..2e393de53 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -791,6 +791,7 @@ DNSInfo DNSRequest::ResultIsReady(DNSHeader &header, int length, int result_we_w rr.type = DNS_QUERY_NONE; rr.rdlength = 0; rr.ttl = 1; /* GCC is a whiney bastard -- see the XXX below. */ + rr.rr_class = 0; /* Same for VC++ */ if (!(header.flags1 & FLAGS_MASK_QR)) return std::make_pair((unsigned char*)NULL,"Not a query result"); @@ -1175,3 +1176,4 @@ unsigned long DNS::PRNG() return val; } + |
