diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2011-06-28 13:47:08 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2011-06-28 13:47:08 -0700 |
commit | 3a3eabb57ae41dd2162ca8230423abf4a90ef644 (patch) | |
tree | 2d77cceca1b94236bf7375508d26aeae28575ccb | |
parent | 8111e27905deda5c5415ed6b3c30ca944590a378 (diff) | |
parent | ecd3e728b78255ec3af1c08de57d0abd27964780 (diff) |
Merge pull request #362 from ius/issue340
Fix connection failure debug output
-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; } |