From 71896ce9be72805901b1926ce786cab36a34785a Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 19 May 2008 23:47:42 +0000 Subject: Debug on out of range FD. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9776 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengines/socketengine_epoll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socketengines') diff --git a/src/socketengines/socketengine_epoll.cpp b/src/socketengines/socketengine_epoll.cpp index 6028ce2e1..d3faf12a1 100644 --- a/src/socketengines/socketengine_epoll.cpp +++ b/src/socketengines/socketengine_epoll.cpp @@ -50,7 +50,7 @@ bool EPollEngine::AddFd(EventHandler* eh) int fd = eh->GetFd(); if ((fd < 0) || (fd > GetMaxFds() - 1)) { - ServerInstance->Logs->Log("SOCKET",DEBUG,"Out of range FD"); + ServerInstance->Logs->Log("SOCKET",DEBUG,"Out of range FD: (fd: %d, max: %d)", fd, GetMaxFds()); return false; } -- cgit v1.2.3