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:
csoler 2010-08-04 09:54:41 +00:00
parent a595ba4fc7
commit a999c317ff

View File

@ -155,6 +155,7 @@ bool p3BitDht::findPeer(std::string pid)
/* add in peer */ /* add in peer */
mUdpBitDht->addFindNode(&nid, BITDHT_QFLAGS_DO_IDLE); mUdpBitDht->addFindNode(&nid, BITDHT_QFLAGS_DO_IDLE);
return true ;
} }
bool p3BitDht::dropPeer(std::string pid) bool p3BitDht::dropPeer(std::string pid)
@ -179,6 +180,8 @@ bool p3BitDht::dropPeer(std::string pid)
/* error */ /* error */
return false; return false;
} }
return true ;
} }
/* extract current peer status */ /* extract current peer status */