diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-18 18:16:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-18 18:16:47 +0000 |
commit | 8b41eadd920668bc17f543e39bb40f9ee96c098b (patch) | |
tree | fbc50baeb1b9e9d93d9a6bd1edf6d8b414461ac1 /src/socketengine_kqueue.cpp | |
parent | 0738c47225c7c6291f8d449c3238e9bf5abd8e1a (diff) |
Socket engine tweaks to fix a glitch, and improvements to new m_ident
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8225 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine_kqueue.cpp')
-rw-r--r-- | src/socketengine_kqueue.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/socketengine_kqueue.cpp b/src/socketengine_kqueue.cpp index 50f6242e2..640172305 100644 --- a/src/socketengine_kqueue.cpp +++ b/src/socketengine_kqueue.cpp @@ -93,12 +93,12 @@ bool KQueueEngine::DelFd(EventHandler* eh, bool force) int j = kevent(EngineHandle, &ke, 1, 0, 0, NULL); - if ((j < 0) && (i < 0) && !force) - return false; - CurrentSetSize--; ref[fd] = NULL; + if ((j < 0) && (i < 0) && !force) + return false; + ServerInstance->Log(DEBUG,"Remove file descriptor: %d", fd); return true; } |