aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-02-19 19:05:41 +0100
committerLuke Dashjr <luke-jr+git@utopios.org>2012-02-27 12:54:06 -0500
commit54fee2d0ce1e4b389700cd9d043f9475d567cc25 (patch)
tree27c92535e0457173d3ac9ac4c1983fa452aacb35
parent471e0bdc7cc79a993230672dadbd193218b6103c (diff)
Fix #626: RecvLine wrong error message
-rw-r--r--src/irc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc.cpp b/src/irc.cpp
index b632b96546..5dfab06bac 100644
--- a/src/irc.cpp
+++ b/src/irc.cpp
@@ -110,14 +110,14 @@ bool RecvLine(SOCKET hSocket, string& strLine)
if (nBytes == 0)
{
// socket closed
- printf("IRC socket closed\n");
+ printf("socket closed\n");
return false;
}
else
{
// socket error
int nErr = WSAGetLastError();
- printf("IRC recv failed: %d\n", nErr);
+ printf("recv failed: %d\n", nErr);
return false;
}
}