Module: kamailio
Branch: master
Commit: 1f3de642bc3822290608dfed6a47a9052fa65ae1
URL:
https://github.com/kamailio/kamailio/commit/1f3de642bc3822290608dfed6a47a90…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-01-18T20:11:58+01:00
htable: proper function executed by w_ht_iterator_setex()
- reported by GH #3004
---
Modified: src/modules/htable/htable.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1f3de642bc3822290608dfed6a47a90…
Patch:
https://github.com/kamailio/kamailio/commit/1f3de642bc3822290608dfed6a47a90…
---
diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index 7e72ad0840..ed28190880 100644
--- a/src/modules/htable/htable.c
+++ b/src/modules/htable/htable.c
@@ -923,7 +923,7 @@ static int w_ht_iterator_setex(struct sip_msg* msg, char* iname, char*
val)
return -1;
}
- return ki_ht_iterator_seti(msg, &siname, ival);
+ return ki_ht_iterator_setex(msg, &siname, ival);
}
static int ki_ht_slot_xlock(sip_msg_t *msg, str *htname, str *skey, int lmode)