diff options
Diffstat (limited to 'src/socketengine_select.cpp')
-rw-r--r-- | src/socketengine_select.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/socketengine_select.cpp b/src/socketengine_select.cpp index 7a21fab84..8b0379152 100644 --- a/src/socketengine_select.cpp +++ b/src/socketengine_select.cpp @@ -60,11 +60,7 @@ bool SelectEngine::AddFd(EventHandler* eh) void SelectEngine::WantWrite(EventHandler* eh) { - int fd = eh->GetFd(); - - writeable[fd] = true; - - ServerInstance->Log(DEBUG,"Set %d to writeable", fd); + writeable[eh->GetFd()] = true; } bool SelectEngine::DelFd(EventHandler* eh) |