mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue