@btriller commented on this pull request.
@@ -71,6 +71,27 @@ extern sruid_t _reg_sruid;
static int q_override_msg_id;
static qvalue_t q_override_value;
+int reg_get_cfg_tcpconnid(void)
+{
+ int n;
+ sr_xavp_t *vavp=NULL;
+ str vname = {"tcpconn_id", 10};
+
+ n = 0;
+
+ if(reg_xavp_cfg.s!=NULL)
+ {
+ vavp = xavp_get_child_with_ival(®_xavp_cfg, &vname);
+ if(vavp!=NULL)
+ {
+ n = vavp->val.v.i;
```suggestion
n = (int)vavp->val.v.l;
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3430#pullrequestreview-1418117236
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3430/review/1418117236(a)github.com>