diff options
Diffstat (limited to 'src/socketengine_select.cpp')
-rw-r--r-- | src/socketengine_select.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/socketengine_select.cpp b/src/socketengine_select.cpp index 80c8646af..f1960f09d 100644 --- a/src/socketengine_select.cpp +++ b/src/socketengine_select.cpp @@ -64,17 +64,12 @@ bool SelectEngine::DelFd(EventHandler* eh) { int fd = eh->GetFd(); - ServerInstance->Log(DEBUG,"SelectEngine::DelFd(%d)",fd); - if ((fd < 0) || (fd > MAX_DESCRIPTORS)) return false; std::map<int,int>::iterator t = fds.find(fd); if (t != fds.end()) - { fds.erase(t); - ServerInstance->Log(DEBUG,"Deleted fd %d",fd); - } CurrentSetSize--; ref[fd] = NULL; |