From 75d17f67a472d04ff899513fcb9987c387161d71 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 16 Apr 2008 20:08:11 +0000 Subject: Change warnings a bit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9518 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socket.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index bebaa3736..17b98e28b 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -93,10 +93,10 @@ void ListenSocket::HandleEvent(EventType e, int err) switch (e) { case EVENT_ERROR: - ServerInstance->Logs->Log("SOCKET",DEBUG,"HandleEvent for listensocket GOT AN ERROR! well shit! '%s'", strerror(err)); + ServerInstance->Logs->Log("SOCKET",DEFAULT,"ListenSocket::HandleEvent() received a socket engine error event! well shit! '%s'", strerror(err)); break; case EVENT_WRITE: - ServerInstance->Logs->Log("SOCKET",DEBUG,"*** BUG *** HandleEvent for listensocket got a WRITE event!!!"); + ServerInstance->Logs->Log("SOCKET",DEBUG,"*** BUG *** ListenSocket::HandleEvent() got a WRITE event!!!"); break; case EVENT_READ: { @@ -117,7 +117,6 @@ void ListenSocket::HandleEvent(EventType e, int err) length = sizeof(sockaddr_in); } - ServerInstance->Logs->Log("SOCKET",DEBUG,"Call to accept with client=%08lx, length=%d", client, length); incomingSockfd = ServerInstance->SE->Accept(this, (sockaddr*)client, &length); if ((incomingSockfd > -1) && (!ServerInstance->SE->GetSockName(this, sock_us, &uslen))) -- cgit v1.2.3