From f64da295f6c3cfa3e340616fcc12564ae2689746 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Fri, 3 May 2019 10:39:22 +0200 Subject: [PATCH] htable: set expires for kemi htable.sht_setxs() - GH #1943 --- src/modules/htable/htable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c index 4d70d6e3174..7997865f4dc 100644 --- a/src/modules/htable/htable.c +++ b/src/modules/htable/htable.c @@ -1041,7 +1041,7 @@ static int ki_ht_setxs(sip_msg_t *msg, str *htname, str *itname, str *itval, } } isval.s = *itval; - if(ht_set_cell(ht, itname, AVP_VAL_STR, &isval, 1)!=0) { + if(ht_set_cell_ex(ht, itname, AVP_VAL_STR, &isval, 1, exval)!=0) { LM_ERR("cannot set hash table: %.*s key: %.*s\n", htname->len, htname->s, itname->len, itname->s); return -1;