+ }
+
+ // get first entry from entry list; jump over unused list head
+ hash_index = str_hash(key);
+ entry = rtpengine_hash_table->entry_list[hash_index];
+ last_entry = entry;
+
+ // lock
+ lock_get(rtpengine_hash_lock);
+ while (entry) {
+ // if key found, return entry
+ if (str_equal(&entry->callid, (str *)key)) {
+ // unlock
+ lock_release(rtpengine_hash_lock);
+
+ return entry;
True, I'll return just the node.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/390/files#r44639943