diff options
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r-- | src/inspsocket.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index c7e68df6c..b185ccb35 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -129,15 +129,7 @@ void InspSocket::WantWrite() * * This behaviour may be fixed in a later version. */ - this->Instance->SE->DelFd(this); - this->WaitingForWriteEvent = true; - if (!this->Instance->SE->AddFd(this)) - { - this->Close(); - this->fd = -1; - this->state = I_ERROR; - this->OnError(I_ERR_NOMOREFDS); - } + this->Instance->SE->WantWrite(this); } void InspSocket::SetQueues(int nfd) |