diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-04 21:42:00 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-09-04 21:42:00 +0200 |
commit | f9988d4e4cc9818b0f338d6f6101241eb6da526b (patch) | |
tree | f0d53c9f139631aed11cf8750f31ba0b078a5513 /src/odb_pack.c | |
parent | 064ee42d99f1c457fcf728df728c0fb7ea65bc07 (diff) | |
download | libgit2-f9988d4e4cc9818b0f338d6f6101241eb6da526b.tar.gz |
odb: pass the user's data pointer correctly in foreach
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r-- | src/odb_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c index 8fc6e68e8..6e3d3eefd 100644 --- a/src/odb_pack.c +++ b/src/odb_pack.c @@ -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; } |