We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f2922b commit 05d158eCopy full SHA for 05d158e
src/ui.c
@@ -433,7 +433,8 @@ static void *PullTLEThread(void *arg)
433
434
pull_partial = (ok_count > 0 && fail_count > 0);
435
__sync_synchronize(); /* ensure pull_partial is visible before pull_state on ARM */
436
- pull_state = (ok_count > 0) ? PULL_DONE : PULL_ERROR;
+ if (fail_count > 0 && ok_count == 0) pull_state = PULL_ERROR;
437
+ else pull_state = PULL_DONE;
438
return NULL;
439
}
440
0 commit comments