mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Merge pull request #4567
f469f79 remove an unneded .c_str() in OpenNetworkConnection() (Philip Kaufmann)
This commit is contained in:
commit
32235a3bb9
@ -1478,7 +1478,7 @@ bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOu
|
|||||||
if (!pszDest) {
|
if (!pszDest) {
|
||||||
if (IsLocal(addrConnect) ||
|
if (IsLocal(addrConnect) ||
|
||||||
FindNode((CNetAddr)addrConnect) || CNode::IsBanned(addrConnect) ||
|
FindNode((CNetAddr)addrConnect) || CNode::IsBanned(addrConnect) ||
|
||||||
FindNode(addrConnect.ToStringIPPort().c_str()))
|
FindNode(addrConnect.ToStringIPPort()))
|
||||||
return false;
|
return false;
|
||||||
} else if (FindNode(pszDest))
|
} else if (FindNode(pszDest))
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user