mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 09:11:06 -04:00
drop net ID request when peer list is empty
This commit is contained in:
parent
8fdd255185
commit
71168c7a00
1 changed files with 2 additions and 2 deletions
|
@ -2230,7 +2230,7 @@ void p3IdService::requestIdsFromNet()
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if(request_can_proceed)
|
if(request_can_proceed || peers.empty())
|
||||||
{
|
{
|
||||||
std::map<RsGxsId, std::list<RsPeerId> >::iterator tmp(cit);
|
std::map<RsGxsId, std::list<RsPeerId> >::iterator tmp(cit);
|
||||||
++tmp ;
|
++tmp ;
|
||||||
|
@ -2239,7 +2239,7 @@ void p3IdService::requestIdsFromNet()
|
||||||
}
|
}
|
||||||
else
|
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 ;
|
++cit ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue