fix: correct reading for hash function
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user