mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added missing return call
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3339 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a595ba4fc7
commit
a999c317ff
@ -155,6 +155,7 @@ bool p3BitDht::findPeer(std::string pid)
|
||||
/* add in peer */
|
||||
mUdpBitDht->addFindNode(&nid, BITDHT_QFLAGS_DO_IDLE);
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
bool p3BitDht::dropPeer(std::string pid)
|
||||
@ -179,6 +180,8 @@ bool p3BitDht::dropPeer(std::string pid)
|
||||
/* error */
|
||||
return false;
|
||||
}
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
/* extract current peer status */
|
||||
|
Loading…
Reference in New Issue
Block a user