Skip to content

Commit 22c430a

Browse files
committed
Merge branch 'maint'
* maint: hash: fix lookup_hash semantics
2 parents be8b906 + 9ea0980 commit 22c430a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void *lookup_hash(unsigned int hash, struct hash_table *table)
7070
{
7171
if (!table->array)
7272
return NULL;
73-
return &lookup_hash_entry(hash, table)->ptr;
73+
return lookup_hash_entry(hash, table)->ptr;
7474
}
7575

7676
void **insert_hash(unsigned int hash, void *ptr, struct hash_table *table)

0 commit comments

Comments
 (0)