Merge pull request #362 from ius/issue340

Fix connection failure debug output
This commit is contained in:
Pieter Wuille 2011-06-28 13:47:08 -07:00
commit 3a3eabb57a
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ bool ConnectSocket(const CAddress& addrConnect, SOCKET& hSocketRet, int nTimeout
else else
#endif #endif
{ {
printf("connect() failed: %s\n",WSAGetLastError()); printf("connect() failed: %i\n",WSAGetLastError());
closesocket(hSocket); closesocket(hSocket);
return false; return false;
} }