diff options
| author | 2010-03-02 03:23:18 +0000 | |
|---|---|---|
| committer | 2010-08-03 17:32:38 -0400 | |
| commit | 5401cc3c46ec9beacef2640ea10291bfa0d019cb (patch) | |
| tree | 58c3b3e9c17e68b3db5235fdac0c51ac8426b060 /src/inspsocket.cpp | |
| parent | DelFd should not fail, it will leave a bad dangling pointer in that case (diff) | |
| download | inspircd++-5401cc3c46ec9beacef2640ea10291bfa0d019cb.tar.gz inspircd++-5401cc3c46ec9beacef2640ea10291bfa0d019cb.tar.bz2 inspircd++-5401cc3c46ec9beacef2640ea10291bfa0d019cb.zip | |
Fix some more incorrect socket use
Diffstat (limited to 'src/inspsocket.cpp')
| -rw-r--r-- | src/inspsocket.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 5ce51ae9b..fa4b3ca48 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -447,11 +447,6 @@ void SocketTimeout::Tick(time_t) // connection. this->sock->OnTimeout(); this->sock->OnError(I_ERR_TIMEOUT); - - /* NOTE: We must set this AFTER DelFd, as we added - * this socket whilst writeable. This means that we - * must DELETE the socket whilst writeable too! - */ this->sock->state = I_ERROR; ServerInstance->GlobalCulls.AddItem(sock); |
