summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/socketengine_select.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengine_select.cpp b/src/socketengine_select.cpp
index b7a9c3597..d2481f9cc 100644
--- a/src/socketengine_select.cpp
+++ b/src/socketengine_select.cpp
@@ -148,7 +148,7 @@ int SelectEngine::DispatchEvents()
if (getsockopt(ev[i]->GetFd(), SOL_SOCKET, SO_ERROR, &errcode, &codesize) < 0)
errcode = errno;
- v[i]->HandleEvent(EVENT_ERROR, errcode);
+ ev[i]->HandleEvent(EVENT_ERROR, errcode);
}
continue;
}