summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-16 20:08:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-16 20:08:11 +0000
commit75d17f67a472d04ff899513fcb9987c387161d71 (patch)
treec61cc8f684c0d9b6dc732bf9ca17ece509213eff
parent7549cf7c208bd989b5c5ef5fcead594ec02a3e4f (diff)
Change warnings a bit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9518 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/socket.cpp5
1 files changed, 2 insertions, 3 deletions
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)))