X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=oidmap.c;h=cd22b3a8bf4b745253c2539867611de3e455acd6;hb=26b455f21ed7e0c7b0e4e4e69b5ae48545597020;hp=6d6e840d037657721a5aa975e2567c8415547d93;hpb=080af915a3ee4d9511dc288b29143b9958ac0adc;p=thirdparty%2Fgit.git diff --git a/oidmap.c b/oidmap.c index 6d6e840d03..cd22b3a8bf 100644 --- a/oidmap.c +++ b/oidmap.c @@ -51,5 +51,5 @@ void *oidmap_put(struct oidmap *map, void *entry) oidmap_init(map, 0); hashmap_entry_init(&to_put->internal_entry, oidhash(&to_put->oid)); - return hashmap_put(&map->map, to_put); + return hashmap_put(&map->map, &to_put->internal_entry); }