Commit 03a89e83 authored by roux's avatar roux

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


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7671 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 536a5032
...@@ -233,7 +233,7 @@ hashtable_rc_t hashtable_remove(hash_table_t *hashtblP, const uint64_t keyP) ...@@ -233,7 +233,7 @@ hashtable_rc_t hashtable_remove(hash_table_t *hashtblP, const uint64_t keyP)
node=hashtblP->nodes[hash]; node=hashtblP->nodes[hash];
while(node) { while(node) {
if(node->key != keyP) { if(node->key == keyP) {
if(prevnode) prevnode->next=node->next; if(prevnode) prevnode->next=node->next;
else hashtblP->nodes[hash]=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