fix: correct reading for hash function

This commit is contained in:
ngn
2024-07-11 07:52:00 +03:00
parent 839bcb47bf
commit 5cdb857988
7 changed files with 26 additions and 7 deletions

View File

@ -31,6 +31,8 @@ bool lm_ctx_check(lm_ctx_t *ctx, lm_pkg_t *pkg, lm_ctx_check_callback_t callback
join(fp, ctx->root, path);
current++;
pdebug(__func__, "(%d/%d) checking %s", current, total, fp);
if(NULL != callback)
if(!callback(ctx, pkg, fp, current, total, data))
goto end;