mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 16:22:40 +00:00
odb: pass the user's data pointer correctly in foreach
This commit is contained in:
parent
064ee42d99
commit
f9988d4e4c
@ -435,7 +435,7 @@ static int pack_backend__foreach(git_odb_backend *_backend, int (*cb)(git_oid *o
|
||||
return error;
|
||||
|
||||
git_vector_foreach(&backend->packs, i, p) {
|
||||
if ((error = git_pack_foreach_entry(p, cb, &data)) < 0)
|
||||
if ((error = git_pack_foreach_entry(p, cb, data)) < 0)
|
||||
return error;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user