mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-27 02:11:27 -05:00
removed warning when peer list is empty in cache_load of identities
This commit is contained in:
parent
233c38d8db
commit
5c296b9349
@ -2313,8 +2313,10 @@ bool p3IdService::cache_load_for_token(uint32_t token)
|
|||||||
for(std::map<RsGxsId,std::list<RsPeerId> >::const_iterator itt(mPendingCache.begin());itt!=mPendingCache.end();++itt)
|
for(std::map<RsGxsId,std::list<RsPeerId> >::const_iterator itt(mPendingCache.begin());itt!=mPendingCache.end();++itt)
|
||||||
if(!itt->second.empty())
|
if(!itt->second.empty())
|
||||||
mergeIds(mIdsNotPresent,itt->first,itt->second) ;
|
mergeIds(mIdsNotPresent,itt->first,itt->second) ;
|
||||||
|
#ifdef DEBUG_IDS
|
||||||
else
|
else
|
||||||
std::cerr << "(WW) empty list of peers to request ID " << itt->first << ": cannot request" << std::endl;
|
std::cerr << "(WW) empty list of peers to request ID " << itt->first << ": cannot request" << std::endl;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
mPendingCache.clear();
|
mPendingCache.clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user