Fix connection failure debug output

This commit is contained in:
Joerie de Gram committed 2011-06-28 22:34:52 +02:00
1 parent 8111e27905
commit ecd3e728b7
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}