diff options
Diffstat (limited to 'src/socketengine.cpp')
-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; } |