diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-25 11:00:29 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-25 11:04:48 +0200 |
commit | 32235a3bb9beb8b9841f4bd68aeefbf204ac2ee9 (patch) | |
tree | 59366363eb7d3e54730f37cef52e2d7439a9eb27 /src | |
parent | 9192ca9e3341ed82d6324ee03c8a21504fd0163e (diff) | |
parent | f469f79ff8f33c8d487d48cd6af83e1c73cf0a94 (diff) |
Merge pull request #4567
f469f79 remove an unneded .c_str() in OpenNetworkConnection() (Philip Kaufmann)
Diffstat (limited to 'src')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index b55cd72e86..5a48cb5562 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -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; |