summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 19:26:27 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-27 19:26:27 +0000
commit5adcfa35c2c6df8c356841c11835f25e3422364c (patch)
tree1322545ebac647490f4059711cbf60a238fc72c9 /src/dns.cpp
parent17d318c9decb96cc079e6b2e9707edc48322100e (diff)
Windows specific data types in EventHandler are now Extensible items
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7599 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index fab9631b7..c91e45e9c 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -624,6 +624,10 @@ DNSResult DNS::GetResult()
#endif
const char* ipaddr_from;
unsigned short int port_from = 0;
+
+ void* m_readEvent = NULL;
+ GetExt("windows_readevent", m_readEvent);
+
int length = _recvfrom(this->GetFd(),(char*)buffer,sizeof(DNSHeader),0,from,&x);
/* Did we get the whole header? */