From 5b3a9f2af8b04bef4d2878d28e36e57ff2c907d1 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 6 Oct 2006 19:55:24 +0000 Subject: 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 --- src/socketengine_epoll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socketengine_epoll.cpp') diff --git a/src/socketengine_epoll.cpp b/src/socketengine_epoll.cpp index 89be6cc41..9cc5f90f0 100644 --- a/src/socketengine_epoll.cpp +++ b/src/socketengine_epoll.cpp @@ -92,7 +92,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!"); + ServerInstance->Log(DEBUG,"epoll: List deletion failure: %s",strerror(errno)); return false; } -- cgit v1.2.3