aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJoerie de Gram <j.de.gram@gmail.com>2011-06-28 22:16:12 +0200
committerJoerie de Gram <j.de.gram@gmail.com>2011-06-28 22:34:52 +0200
commitecd3e728b78255ec3af1c08de57d0abd27964780 (patch)
tree2d77cceca1b94236bf7375508d26aeae28575ccb /src/net.cpp
parent8111e27905deda5c5415ed6b3c30ca944590a378 (diff)
Fix connection failure debug output
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 4b13726230..8924ac2981 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -159,7 +159,7 @@ bool ConnectSocket(const CAddress& addrConnect, SOCKET& hSocketRet, int nTimeout
else
#endif
{
- printf("connect() failed: %s\n",WSAGetLastError());
+ printf("connect() failed: %i\n",WSAGetLastError());
closesocket(hSocket);
return false;
}