Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 22 Feb 2008 22:01:43 +0000
(14:01 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 22 Feb 2008 22:01:43 +0000
(14:01 -0800)
* maint:
hash: fix lookup_hash semantics
hash.c
patch
|
blob
|
history
raw
(from parent 1:
be8b906
)
diff --git
a/hash.c
b/hash.c
index 7b492d4fc039898b975a1122b4e4eb90e3eb8923..d9ec82fa663804210e8ef200f2f300e914662f22 100644
(file)
--- a/
hash.c
+++ b/
hash.c
@@
-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)