Browse code

pv: use fixup get int value to evaluate the index parameter

Daniel-Constantin Mierla authored on 11/05/2022 14:16:47
Showing 1 changed files
... ...
@@ -935,7 +935,7 @@ static int w_xavp_lshift(sip_msg_t *msg, char *pxname, char *pidx)
935 935
 		LM_ERR("failed to get the xavp name\n");
936 936
 		return -1;
937 937
 	}
938
-	if(fixup_get_svalue(msg, (gparam_t*)pidx, &idx)<0) {
938
+	if(fixup_get_ivalue(msg, (gparam_t*)pidx, &idx)<0) {
939 939
 		LM_ERR("failed to get the xavp index\n");
940 940
 		return -1;
941 941
 	}