summaryrefslogtreecommitdiff
path: root/src/socketengine_epoll.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-23 23:52:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-23 23:52:53 +0000
commite473ba1a256b6b38a7ac567ae5b77612e1781a82 (patch)
tree4e544d2889d53566a4c6ad7ae2e752232ec8ced4 /src/socketengine_epoll.cpp
parent72da54c1c2a4f4b59d852e79adaee3348c4874ad (diff)
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
Diffstat (limited to 'src/socketengine_epoll.cpp')
-rw-r--r--src/socketengine_epoll.cpp5
1 files changed, 0 insertions, 5 deletions
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;