From 4f2e601fe71febf62db0f98a418a25598e24377b Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 12 Dec 2005 10:06:21 +0000 Subject: Made compile on linux git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2325 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &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; } -- cgit v1.2.3