Permalink
Browse files

Fixed for FindNode

  • Loading branch information...
Tranz5 committed Aug 25, 2014
1 parent 07afab2 commit 861f072577bb7c235709b1654022506765e9ea02
Showing with 2 additions and 1 deletion.
  1. +1 −1 src/net.cpp
  2. +1 −0 src/net.h
View
@@ -447,7 +447,7 @@ CNode* FindNode(const CNetAddr& ip)
return NULL;
}
CNode* FindNode(std::string addrName)
CNode* FindNode(const std::string& addrName)
{
LOCK(cs_vNodes);
BOOST_FOREACH(CNode* pnode, vNodes)
View
@@ -39,6 +39,7 @@ bool RecvLine(SOCKET hSocket, std::string& strLine);
bool GetMyExternalIP(CNetAddr& ipRet);
void AddressCurrentlyConnected(const CService& addr);
CNode* FindNode(const CNetAddr& ip);
CNode* FindNode(const std::string& addrName);
CNode* FindNode(const CService& ip);
CNode* ConnectNode(CAddress addrConnect, const char *strDest = NULL);
void MapPort();

0 comments on commit 861f072

Please sign in to comment.