Module: kamailio
Branch: master
Commit: 9ecbdce1a5ded2c5247a9a204b7841627f5e172a
URL: 
https://github.com/kamailio/kamailio/commit/9ecbdce1a5ded2c5247a9a204b7841627f5e172a

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2022-11-16T16:49:30+01:00

call_control: switch to long pvar field

---

Modified: src/modules/call_control/call_control.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/9ecbdce1a5ded2c5247a9a204b7841627f5e172a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9ecbdce1a5ded2c5247a9a204b7841627f5e172a.patch

---

diff --git a/src/modules/call_control/call_control.c 
b/src/modules/call_control/call_control.c
index 98de64523d0..14455ec967f 100644
--- a/src/modules/call_control/call_control.c
+++ b/src/modules/call_control/call_control.c
@@ -589,7 +589,7 @@ make_custom_request(struct sip_msg *msg, CallInfo *call)
         }
         if (pt.flags & PV_VAL_INT) {
             len += snprintf(request + len0, sizeof(request)-len0,
-                      "%.*s = %d ", al->name.len, al->name.s,
+                      "%.*s = %ld ", al->name.len, al->name.s,
                    pt.ri);
         } else    if (pt.flags & PV_VAL_STR) {
             len += snprintf(request + len0, sizeof(request)-len0,


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to