mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-10 23:07:52 +00:00
Fix connection failure debug output
This commit is contained in:
parent
8111e27905
commit
ecd3e728b7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user