Made compile on linux

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2325 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2005-12-12 10:06:21 +00:00
parent ff40e40c9e
commit 4f2e601fe7

View File

@ -151,7 +151,7 @@ bool SocketEngine::Wait(std::vector<int> &fdlist)
#ifdef USE_EPOLL
int i = epoll_wait(EngineHandle, events, 65535, 1);
for (int j = 0; j < i; j++)
fdlist.push_back(event[0].data.fd);
fdlist.push_back(events[j].data.fd);
#endif
return true;
}