summaryrefslogtreecommitdiff
path: root/src/socketengine_kqueue.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-06 19:55:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-06 19:55:24 +0000
commit5b3a9f2af8b04bef4d2878d28e36e57ff2c907d1 (patch)
tree36a635a1e6f2d87444f75f9b9dab05babbdcddd1 /src/socketengine_kqueue.cpp
parent855f0d98e90a077f46b456e98ebb8a9b290488f6 (diff)
Add extra debugging for socketengines, will now report OS error string when failing to remove a socket from the queue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5436 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine_kqueue.cpp')
-rw-r--r--src/socketengine_kqueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengine_kqueue.cpp b/src/socketengine_kqueue.cpp
index 0792e7920..662be649a 100644
--- a/src/socketengine_kqueue.cpp
+++ b/src/socketengine_kqueue.cpp
@@ -95,7 +95,7 @@ bool KQueueEngine::DelFd(EventHandler* eh)
int i = kevent(EngineHandle, &ke, 1, 0, 0, NULL);
if (i == -1)
{
- ServerInstance->Log(DEBUG,"kqueue: Failed to remove socket from queue!");
+ ServerInstance->Log(DEBUG,"kqueue: Failed to remove socket from queue: %s",strerror(errno));
return false;
}