Fix connection failure debug output
This commit is contained in:
parent
8111e27905
commit
ecd3e728b7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue