fix
This commit is contained in:
@@ -498,9 +498,10 @@ bool static ConnectSocketDirectly(const CService &addrConnect, SOCKET& hSocketRe
|
|||||||
CloseSocket(hSocket);
|
CloseSocket(hSocket);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (nRet != 0 && nRet != 101)
|
if (nRet != 0)
|
||||||
{
|
{
|
||||||
LogPrintf("connect() to %s failed after select(): %s\n", addrConnect.ToString(), NetworkErrorString(nRet));
|
if ( nRet != 101)
|
||||||
|
LogPrintf("connect() to %s failed after select(): %s\n", addrConnect.ToString(), NetworkErrorString(nRet));
|
||||||
CloseSocket(hSocket);
|
CloseSocket(hSocket);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user