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_select.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_select.cpp')
-rw-r--r-- | src/socketengines/socketengine_select.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp index f053da6df..25e4c1491 100644 --- a/src/socketengines/socketengine_select.cpp +++ b/src/socketengines/socketengine_select.cpp @@ -92,7 +92,7 @@ int SelectEngine::DispatchEvents() { timeval tval; int sresult = 0; - socklen_t codesize; + socklen_t codesize = sizeof(int); int errcode = 0; FD_ZERO(&wfdset); |