Commit d5bd3f47 authored by roux's avatar roux
Browse files

fix (old code, normally not used, but just in case...)

git-svn-id: 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 15a8c554
......@@ -233,7 +233,7 @@ hashtable_rc_t hashtable_remove(hash_table_t *hashtblP, const uint64_t keyP)
while(node) {
if(node->key != keyP) {
if(node->key == keyP) {
if(prevnode) prevnode->next=node->next;
else hashtblP->nodes[hash]=node->next;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment