summaryrefslogtreecommitdiff
path: root/src/socketengine_epoll.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-01 22:13:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-01 22:13:11 +0000
commit575335b6aa12f19a1522679d2ba07f55b633b316 (patch)
tree21430e83e0d660fa8dd2978134dee598968f8f71 /src/socketengine_epoll.cpp
parent8259e54d2aef9ada3cf6299424d5550f5d5f1a0c (diff)
Extra debugging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5378 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine_epoll.cpp')
-rw-r--r--src/socketengine_epoll.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/socketengine_epoll.cpp b/src/socketengine_epoll.cpp
index 2e3f28af6..163bd45c6 100644
--- a/src/socketengine_epoll.cpp
+++ b/src/socketengine_epoll.cpp
@@ -52,7 +52,10 @@ bool EPollEngine::AddFd(EventHandler* eh)
return false;
}
if (ref[fd])
+ {
+ ServerInstance->Log(DEFAULT,"Slot %d already occupied",fd);
return false;
+ }
ref[fd] = eh;