diff options
Diffstat (limited to '')
-rw-r--r-- | src/librarian.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librarian.c b/src/librarian.c index 5c34e56..7c1bd8f 100644 --- a/src/librarian.c +++ b/src/librarian.c @@ -760,8 +760,8 @@ int main(int argc, char *argv[]) free_this[free_this_ptr++] = data, data = NULL; } if (f_locate) { - while (found_files_count) - t (printf("%s\n", found_files[--found_files_count].path) < 0); + for (n = 0; n < found_files_count; n++) + t (printf("%s\n", found_files[n].path) < 0); goto done; } |