mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Fix a wrong logic increment in status report
This commit is contained in:
parent
fa3f17ac20
commit
cba363e898
1 changed files with 1 additions and 1 deletions
|
|
@ -383,11 +383,11 @@ int state_status(struct snapraid_state* state)
|
|||
step_scrubbed = 0;
|
||||
step_new = 0;
|
||||
while (barpos < count && timemap[barpos] <= limit) {
|
||||
++barpos;
|
||||
if ((timemap[barpos] & TIME_NEW) != 0)
|
||||
++step_new;
|
||||
else
|
||||
++step_scrubbed;
|
||||
++barpos;
|
||||
}
|
||||
|
||||
if (step_new + step_scrubbed > barmax)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue