summaryrefslogtreecommitdiff
path: root/src/socketengines/socketengine_select.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengines/socketengine_select.cpp')
-rw-r--r--src/socketengines/socketengine_select.cpp2
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);