Commit f9988d4e by Carlos Martín Nieto

odb: pass the user's data pointer correctly in foreach

parent 064ee42d
...@@ -435,7 +435,7 @@ static int pack_backend__foreach(git_odb_backend *_backend, int (*cb)(git_oid *o ...@@ -435,7 +435,7 @@ static int pack_backend__foreach(git_odb_backend *_backend, int (*cb)(git_oid *o
return error; return error;
git_vector_foreach(&backend->packs, i, p) { 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; return error;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment