diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-23 23:23:38 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-23 23:23:38 +0000 |
commit | 0c534fb50b464a580c9795f383697a340cfa206e (patch) | |
tree | 909f743d9352c31b334c5b60524abcdf23ddcf66 /src/socketengines/socketengine_epoll.cpp | |
parent | aee600bd4fd0a3d53d10f9f27a58ae72dad16511 (diff) |
Forward port r10234, thanks psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10235 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengines/socketengine_epoll.cpp')
-rw-r--r-- | src/socketengines/socketengine_epoll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengines/socketengine_epoll.cpp b/src/socketengines/socketengine_epoll.cpp index 6b8954412..de06103fb 100644 --- a/src/socketengines/socketengine_epoll.cpp +++ b/src/socketengines/socketengine_epoll.cpp @@ -152,7 +152,7 @@ int EPollEngine::GetRemainingFds() int EPollEngine::DispatchEvents() { - socklen_t codesize; + socklen_t codesize = sizeof(int); int errcode; int i = epoll_wait(EngineHandle, events, GetMaxFds() - 1, 1000); |