From e473ba1a256b6b38a7ac567ae5b77612e1781a82 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 23 Dec 2006 23:52:53 +0000 Subject: We can't log in SocketEngine::DelFd(), because the fd we're removing might just be that of the logger! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6082 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengine_epoll.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/socketengine_epoll.cpp') diff --git a/src/socketengine_epoll.cpp b/src/socketengine_epoll.cpp index b3c30b8c8..0be3b25c8 100644 --- a/src/socketengine_epoll.cpp +++ b/src/socketengine_epoll.cpp @@ -93,8 +93,6 @@ void EPollEngine::WantWrite(EventHandler* eh) bool EPollEngine::DelFd(EventHandler* eh) { - ServerInstance->Log(DEBUG,"EPollEngine::DelFd(%d)",eh->GetFd()); - int fd = eh->GetFd(); if ((fd < 0) || (fd > MAX_DESCRIPTORS)) return false; @@ -106,10 +104,7 @@ bool EPollEngine::DelFd(EventHandler* eh) int i = epoll_ctl(EngineHandle, EPOLL_CTL_DEL, fd, &ev); if (i < 0) - { - ServerInstance->Log(DEBUG,"epoll: List deletion failure: %s",strerror(errno)); return false; - } CurrentSetSize--; ref[fd] = NULL; -- cgit v1.2.3