diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 10:06:21 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 10:06:21 +0000 |
commit | 4f2e601fe71febf62db0f98a418a25598e24377b (patch) | |
tree | e3b93096fbd14df15bde04a092996783bd09f968 /src | |
parent | ff40e40c9e0d7de0d37ba0fdc6019575cfdaf72d (diff) |
Made compile on linux
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2325 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/socketengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp index f99a5d073..7501d19db 100644 --- a/src/socketengine.cpp +++ b/src/socketengine.cpp @@ -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; } |