mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-02 09:54:29 +00:00
Merge pull request #362 from ius/issue340
Fix connection failure debug output
This commit is contained in:
commit
3a3eabb57a
@ -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…
x
Reference in New Issue
Block a user