Skip to content

Commit

Permalink
Increment coarse progress after work items in the chunk are all start…
Browse files Browse the repository at this point in the history
…ed or done
  • Loading branch information
kimci86 committed Dec 22, 2024
1 parent c8c3dff commit dda11f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/password.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ class BruteforceRecovery : public SixCharactersRecovery<BruteforceRecovery>

clone.searchLongRecursive(init);

if (reportProgress || (reportProgressCoarse && i % charsetSize == 0))
if (reportProgress || (reportProgressCoarse && i % charsetSize == charsetSize - 1))
clone.progress.done++;

if (clone.progress.state != Progress::State::Normal)
Expand Down

0 comments on commit dda11f2

Please sign in to comment.