mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
drop net ID request when peer list is empty
This commit is contained in:
parent
8fdd255185
commit
71168c7a00
@ -2230,7 +2230,7 @@ void p3IdService::requestIdsFromNet()
|
||||
#endif
|
||||
}
|
||||
|
||||
if(request_can_proceed)
|
||||
if(request_can_proceed || peers.empty())
|
||||
{
|
||||
std::map<RsGxsId, std::list<RsPeerId> >::iterator tmp(cit);
|
||||
++tmp ;
|
||||
@ -2239,7 +2239,7 @@ void p3IdService::requestIdsFromNet()
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cerr << "(EE) empty online peers list in ID request for groupId " << cit->first << ". This is not going to work! Keeping it until peers show up."<< std::endl;
|
||||
std::cerr << "(EE) no online peers among supply list in ID request for groupId " << cit->first << ". Keeping it until peers show up."<< std::endl;
|
||||
++cit ;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user