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:
roux
2015-06-30 07:31:58 +00:00
parent 15a8c554c3
commit d5bd3f4782
+1 -1
View File
@@ -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;