show stats more frequently when sync foreign

otherwise, the stats might have no updates for hours for large foreign directory
This commit is contained in:
Kuang-che Wu
2025-05-13 15:19:59 +08:00
parent 6b1d6a9055
commit 919108ee57

View File

@ -658,12 +658,8 @@ void read_foreign_testcases(afl_state_t *afl, int first) {
munmap(mem, st.st_size);
close(fd);
if (st.st_mtime > mtime_max) {
mtime_max = st.st_mtime;
show_stats(afl);
}
if (st.st_mtime > mtime_max) { mtime_max = st.st_mtime; }
show_stats(afl);
}