From 955dfd805df45f63aba037bcb506e1071afd54ef Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 18 Apr 2008 18:25:56 +0000 Subject: 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 --- src/dns.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dns.cpp') 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; } + -- cgit v1.3.1-10-gc9f91