diff options
author | Joerie de Gram <j.de.gram@gmail.com> | 2011-06-28 22:16:12 +0200 |
---|---|---|
committer | Joerie de Gram <j.de.gram@gmail.com> | 2011-06-28 22:34:52 +0200 |
commit | ecd3e728b78255ec3af1c08de57d0abd27964780 (patch) | |
tree | 2d77cceca1b94236bf7375508d26aeae28575ccb /src | |
parent | 8111e27905deda5c5415ed6b3c30ca944590a378 (diff) |
Fix connection failure debug output
Diffstat (limited to 'src')
-rw-r--r-- | src/net.cpp | 2 |
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; } |