progress bar fix

This commit is contained in:
2019-10-26 14:39:28 -04:00
parent c3b7a05dde
commit bfc7f4ddb6
6 changed files with 19 additions and 29 deletions

View File

@@ -20,7 +20,7 @@ parse_job_t *create_parse_job(const char *filepath, const struct stat *info, int
return job;
}
int handle_entry(const char *filepath, const struct stat *info, const int typeflag, struct FTW *ftw) {
int handle_entry(const char *filepath, const struct stat *info, int typeflag, struct FTW *ftw) {
if (typeflag == FTW_F && S_ISREG(info->st_mode)) {
parse_job_t *job = create_parse_job(filepath, info, ftw->base);
tpool_add_work(ScanCtx.pool, parse, job);