diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-27 19:26:27 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-27 19:26:27 +0000 |
commit | 5adcfa35c2c6df8c356841c11835f25e3422364c (patch) | |
tree | 1322545ebac647490f4059711cbf60a238fc72c9 /src/socket.cpp | |
parent | 17d318c9decb96cc079e6b2e9707edc48322100e (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/socket.cpp')
-rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 03477645b..b28414d4a 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -85,6 +85,8 @@ void ListenSocket::HandleEvent(EventType et, int errornum) length = sizeof(sockaddr_in); } + void* m_acceptEvent = NULL; + GetExt("windows_acceptevent", m_acceptEvent); incomingSockfd = _accept (this->GetFd(), (sockaddr*)client, &length); if ((incomingSockfd > -1) && (!_getsockname(incomingSockfd, sock_us, &uslen))) |