X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=config.c;h=a4fa464ed261cb799badb23685198750796eae9a;hb=404ab78e39fc74c4eb604b6003642ed264f687a6;hp=77ed00bfbf87f8d9505a9369f078d08fe4e66e3c;hpb=23dee69f53cf5024ca79e0b707dcb03c63f33bef;p=thirdparty%2Fgit.git diff --git a/config.c b/config.c index 77ed00bfbf..a4fa464ed2 100644 --- a/config.c +++ b/config.c @@ -1863,8 +1863,7 @@ static struct config_set_element *configset_find_element(struct config_set *cs, hashmap_entry_init(&k.ent, strhash(normalized_key)); k.key = normalized_key; - found_entry = hashmap_get_entry(&cs->config_hash, &k, NULL, - struct config_set_element, ent); + found_entry = hashmap_get_entry(&cs->config_hash, &k, ent, NULL); free(normalized_key); return found_entry; }