git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
471e0bd
)
Fix #626: RecvLine wrong error message
author
Pieter Wuille
<pieter.wuille@gmail.com>
Sun, 19 Feb 2012 18:05:41 +0000 (19:05 +0100)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Mon, 27 Feb 2012 17:54:06 +0000 (12:54 -0500)
src/irc.cpp
patch
|
blob
|
history
diff --git
a/src/irc.cpp
b/src/irc.cpp
index
b632b96
..
5dfab06
100644
(file)
--- 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;
}
}