Module: kamailio
Branch: master
Commit: 2aefad224788891f61b25e2ea683a9a6b35ac069
URL:
https://github.com/kamailio/kamailio/commit/2aefad224788891f61b25e2ea683a9a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-11-16T16:49:30+01:00
pv: switch to long pvar field
---
Modified: src/modules/pv/pv_trans.c
---
Diff:
https://github.com/kamailio/kamailio/commit/2aefad224788891f61b25e2ea683a9a…
Patch:
https://github.com/kamailio/kamailio/commit/2aefad224788891f61b25e2ea683a9a…
---
diff --git a/src/modules/pv/pv_trans.c b/src/modules/pv/pv_trans.c
index a2b546d02a..2cedfc2416 100644
--- a/src/modules/pv/pv_trans.c
+++ b/src/modules/pv/pv_trans.c
@@ -216,7 +216,7 @@ int tr_eval_string(struct sip_msg *msg, tr_param_t *tp, int subtype,
case TR_S_INT:
if(!(val->flags&PV_VAL_INT))
{
- if(str2sint(&val->rs, &val->ri)!=0)
+ if(str2slong(&val->rs, &val->ri)!=0)
return -1;
} else {
if(!(val->flags&PV_VAL_STR))