Module: kamailio
Branch: master
Commit: 4b6328ce015bbdc0899dc948c0f981649039407c
URL:
https://github.com/kamailio/kamailio/commit/4b6328ce015bbdc0899dc948c0f9816…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-11-22T10:10:41+01:00
erlang: use proper name for the long field of xavp
---
Modified: src/modules/erlang/pv_xbuff.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4b6328ce015bbdc0899dc948c0f9816…
Patch:
https://github.com/kamailio/kamailio/commit/4b6328ce015bbdc0899dc948c0f9816…
---
diff --git a/src/modules/erlang/pv_xbuff.c b/src/modules/erlang/pv_xbuff.c
index 42af43798f..1ea5c8331c 100644
--- a/src/modules/erlang/pv_xbuff.c
+++ b/src/modules/erlang/pv_xbuff.c
@@ -914,7 +914,7 @@ int xavp_encode(ei_x_buff *xbuff, sr_xavp_t *xavp,int level)
ei_x_encode_string_len(xbuff,xavp->val.v.s.s,xavp->val.v.s.len);
break;
case 'i':
- ei_x_encode_long(xbuff,xavp->val.v.i);
+ ei_x_encode_long(xbuff,xavp->val.v.l);
break;
case 't':
n = xavp_get_count(xavp->val.v.xavp);