Module: kamailio
Branch: master
Commit: 67f6a2890a38d81dae934e01a2ca536a45625c42
URL:
https://github.com/kamailio/kamailio/commit/67f6a2890a38d81dae934e01a2ca536…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-05-12T13:20:50+02:00
pv: declare pv wrapper function with two parameters
---
Modified: src/modules/pv/pv.c
---
Diff:
https://github.com/kamailio/kamailio/commit/67f6a2890a38d81dae934e01a2ca536…
Patch:
https://github.com/kamailio/kamailio/commit/67f6a2890a38d81dae934e01a2ca536…
---
diff --git a/src/modules/pv/pv.c b/src/modules/pv/pv.c
index 237ed8c7f5..907f45b2c4 100644
--- a/src/modules/pv/pv.c
+++ b/src/modules/pv/pv.c
@@ -601,7 +601,7 @@ static int w_sbranch_set_ruri(sip_msg_t *msg, char p1, char *p2);
static int w_sbranch_append(sip_msg_t *msg, char p1, char *p2);
static int w_sbranch_reset(sip_msg_t *msg, char p1, char *p2);
static int w_var_to_xavp(sip_msg_t *msg, char *p1, char *p2);
-static int w_xavp_to_var(sip_msg_t *msg, char *p1);
+static int w_xavp_to_var(sip_msg_t *msg, char *p1, char *p2);
static int w_xavi_child_seti(sip_msg_t *msg, char *prname, char *pcname,
char *pval);
@@ -888,7 +888,7 @@ static int ki_var_to_xavp(sip_msg_t *msg, str *varname, str *xname)
/**
* xavp to script variable
*/
-static int w_xavp_to_var(sip_msg_t *msg, char *s1)
+static int w_xavp_to_var(sip_msg_t *msg, char *s1, char *p2)
{
str xname = STR_NULL;