aboutsummaryrefslogtreecommitdiffstats
path: root/src/socketengine_epoll.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-10-14 00:34:44 +0000
committerGravatar brain2007-10-14 00:34:44 +0000
commit748b1d82b3e7387c71e3bc6f2dea1e666561842f (patch)
tree9ed40e91ac95e49307336a7b136cf83fdae4fda7 /src/socketengine_epoll.cpp
parentAdd debug (diff)
More debug
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8177 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine_epoll.cpp')
-rw-r--r--src/socketengine_epoll.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/socketengine_epoll.cpp b/src/socketengine_epoll.cpp
index 3190359b8..57e85710a 100644
--- a/src/socketengine_epoll.cpp
+++ b/src/socketengine_epoll.cpp
@@ -41,19 +41,19 @@ bool EPollEngine::AddFd(EventHandler* eh)
int fd = eh->GetFd();
if ((fd < 0) || (fd > MAX_DESCRIPTORS))
{
- ServerInstance->Log(DEBUG,"Not adding fd as it is out of range");
+ ServerInstance->Log(DEBUG,"Not adding fd %d as it is out of range",fd);
return false;
}
if (GetRemainingFds() <= 1)
{
- ServerInstance->Log(DEBUG,"Not adding fd as GetRemainingFds() <= 1");
+ ServerInstance->Log(DEBUG,"Not adding fd %d as GetRemainingFds() <= 1",fd);
return false;
}
if (ref[fd])
{
- ServerInstance->Log(DEBUG,"Not adding fd as ref[fd] != NULL");
+ ServerInstance->Log(DEBUG,"Not adding %d fd as ref[fd] != NULL, it's %8x!",fd, ref[fd]);
return false;
}