diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-02-22 14:01:43 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-22 14:01:43 -0800 |
commit | 22c430ad8468133fa5ed46d8407d7f4cde2c4a0e (patch) | |
tree | f9ff0b7c5ab7176f3428c89004c866f7cff7609e | |
parent | be8b9063810f0c47f825c47045c7ca137f520edb (diff) | |
parent | 9ea0980a091b16501d143261eed40072030892e8 (diff) | |
download | git-22c430ad8468133fa5ed46d8407d7f4cde2c4a0e.tar.gz |
Merge branch 'maint'
* maint:
hash: fix lookup_hash semantics
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ void *lookup_hash(unsigned int hash, struct hash_table *table) { if (!table->array) return NULL; - return &lookup_hash_entry(hash, table)->ptr; + return lookup_hash_entry(hash, table)->ptr; } void **insert_hash(unsigned int hash, void *ptr, struct hash_table *table) |