mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-18 10:58:43 -04:00
fixed a few things to correct PR403
This commit is contained in:
parent
699b3cf064
commit
10e0254317
8 changed files with 59 additions and 19 deletions
|
@ -289,7 +289,7 @@ bool RsGxsIntegrityCheck::check()
|
|||
|
||||
// now request a cache update for them, which triggers downloading from friends, if missing.
|
||||
|
||||
for(;nb_requested_not_in_cache<MAX_GXS_IDS_REQUESTS_NET && gxs_ids.size()>0;)
|
||||
for(;nb_requested_not_in_cache<MAX_GXS_IDS_REQUESTS_NET && !gxs_ids.empty();)
|
||||
{
|
||||
uint32_t n = RSRandom::random_u32() % gxs_ids.size() ;
|
||||
#ifdef GXSUTIL_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue