Stop double-counting rounds.
This commit is contained in:
@@ -192,7 +192,6 @@ static struct file *file_next() {
|
|||||||
|
|
||||||
if (iter->next == &file_head) {
|
if (iter->next == &file_head) {
|
||||||
iter = iter->next->next;
|
iter = iter->next->next;
|
||||||
rounds++;
|
|
||||||
if (!(++rounds % 100)) {
|
if (!(++rounds % 100)) {
|
||||||
fprintf(stderr, "\rRounds: %ju\r", (uintmax_t) rounds);
|
fprintf(stderr, "\rRounds: %ju\r", (uintmax_t) rounds);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user