Merge pull request #4567

f469f79 remove an unneded .c_str() in OpenNetworkConnection() (Philip Kaufmann)
pull/4350/merge
Wladimir J. van der Laan 10 years ago
commit 32235a3bb9
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

@ -1478,7 +1478,7 @@ bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOu
if (!pszDest) {
if (IsLocal(addrConnect) ||
FindNode((CNetAddr)addrConnect) || CNode::IsBanned(addrConnect) ||
FindNode(addrConnect.ToStringIPPort().c_str()))
FindNode(addrConnect.ToStringIPPort()))
return false;
} else if (FindNode(pszDest))
return false;

Loading…
Cancel
Save