@ -446,9 +446,7 @@ CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCo
SplitHostPort ( std : : string ( pszDest ) , port , host ) ;
SplitHostPort ( std : : string ( pszDest ) , port , host ) ;
connected = ConnectThroughProxy ( proxy , host , port , hSocket , nConnectTimeout , nullptr ) ;
connected = ConnectThroughProxy ( proxy , host , port , hSocket , nConnectTimeout , nullptr ) ;
}
}
if ( connected ) {
if ( ! connected ) {
if ( ! IsSelectableSocket ( hSocket ) ) {
LogPrintf ( " Cannot create connection: non-selectable socket created (fd >= FD_SETSIZE ?) \n " ) ;
CloseSocket ( hSocket ) ;
CloseSocket ( hSocket ) ;
return nullptr ;
return nullptr ;
}
}
@ -461,9 +459,6 @@ CNode* CConnman::ConnectNode(CAddress addrConnect, const char *pszDest, bool fCo
pnode - > AddRef ( ) ;
pnode - > AddRef ( ) ;
return pnode ;
return pnode ;
}
return nullptr ;
}
}
void CConnman : : DumpBanlist ( )
void CConnman : : DumpBanlist ( )