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
This commit is contained in:
@@ -233,7 +233,7 @@ hashtable_rc_t hashtable_remove(hash_table_t *hashtblP, const uint64_t keyP)
|
||||
node=hashtblP->nodes[hash];
|
||||
|
||||
while(node) {
|
||||
if(node->key != keyP) {
|
||||
if(node->key == keyP) {
|
||||
if(prevnode) prevnode->next=node->next;
|
||||
else hashtblP->nodes[hash]=node->next;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user