Skip to content

Commit 8adb6cb

Browse files
author
limxdev
committed
Update netbase.cpp
1 parent a8df6ea commit 8adb6cb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/netbase.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,13 @@ bool ConnectSocketDirectly(const CService &addrConnect, const SOCKET& hSocket, i
520520
LogPrintf("getsockopt() for %s failed: %s\n", addrConnect.ToString(), NetworkErrorString(WSAGetLastError()));
521521
return false;
522522
}
523+
/*
523524
if (nRet != 0)
524525
{
525526
LogConnectFailure(manual_connection, "connect() to %s failed after select(): %s", addrConnect.ToString(), NetworkErrorString(nRet));
526527
return false;
527528
}
529+
*/
528530
}
529531
#ifdef WIN32
530532
else if (WSAGetLastError() != WSAEISCONN)

0 commit comments

Comments
 (0)