mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
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:
parent
ff40e40c9e
commit
4f2e601fe7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user