fixed a few small issues in new peer rates

This commit is contained in:
csoler 2016-06-07 22:06:32 -04:00
parent 20b6745f70
commit a1bbcd829d
2 changed files with 50 additions and 57 deletions

View file

@ -243,7 +243,7 @@ bool p3Peers::isFriend(const RsPeerId &ssl_id)
bool p3Peers::setPeerMaximumRates(const RsPeerId& pid,uint32_t maxUploadRate,uint32_t maxDownloadRate)
{
mPeerMgr->setMaxRates(pid,maxUploadRate,maxDownloadRate) ;
return mPeerMgr->setMaxRates(pid,maxUploadRate,maxDownloadRate) ;
}
bool p3Peers::haveSecretKey(const RsPgpId& id)