Browse Source

Fix connection failure debug output

miguelfreitas
Joerie de Gram 14 years ago
parent
commit
ecd3e728b7
  1. 2
      src/net.cpp

2
src/net.cpp

@ -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…
Cancel
Save