Browse code

pv: declare pv wrapper function with two parameters

Daniel-Constantin Mierla authored on 12/05/2022 11:20:50
Showing 1 changed files
... ...
@@ -601,7 +601,7 @@ static int w_sbranch_set_ruri(sip_msg_t *msg, char p1, char *p2);
601 601
 static int w_sbranch_append(sip_msg_t *msg, char p1, char *p2);
602 602
 static int w_sbranch_reset(sip_msg_t *msg, char p1, char *p2);
603 603
 static int w_var_to_xavp(sip_msg_t *msg, char *p1, char *p2);
604
-static int w_xavp_to_var(sip_msg_t *msg, char *p1);
604
+static int w_xavp_to_var(sip_msg_t *msg, char *p1, char *p2);
605 605
 
606 606
 static int w_xavi_child_seti(sip_msg_t *msg, char *prname, char *pcname,
607 607
 		char *pval);
... ...
@@ -888,7 +888,7 @@ static int ki_var_to_xavp(sip_msg_t *msg, str *varname, str *xname)
888 888
 /**
889 889
  * xavp to script variable
890 890
  */
891
-static int w_xavp_to_var(sip_msg_t *msg, char *s1)
891
+static int w_xavp_to_var(sip_msg_t *msg, char *s1, char *p2)
892 892
 {
893 893
 	str xname = STR_NULL;
894 894