|
@@ -1358,7 +1358,7 @@ int pv_get_branch(struct sip_msg *msg, pv_param_t *param,
|
|
return pv_get_null(msg, param, res);
|
|
return pv_get_null(msg, param, res);
|
|
|
|
|
|
|
|
|
|
- branch.s = get_branch(0, &branch.len, &q, 0, 0, 0, 0);
|
|
|
|
|
|
+ branch.s = get_branch(0, &branch.len, &q, 0, 0, 0, 0, 0);
|
|
if (!branch.s) {
|
|
if (!branch.s) {
|
|
return pv_get_null(msg, param, res);
|
|
return pv_get_null(msg, param, res);
|
|
}
|
|
}
|
|
@@ -1387,7 +1387,7 @@ int pv_get_branches(struct sip_msg *msg, pv_param_t *param,
|
|
|
|
|
|
cnt = s.len = 0;
|
|
cnt = s.len = 0;
|
|
|
|
|
|
- while ((uri.s = get_branch(cnt, &uri.len, &q, 0, 0, 0, 0)))
|
|
|
|
|
|
+ while ((uri.s = get_branch(cnt, &uri.len, &q, 0, 0, 0, 0, 0)))
|
|
{
|
|
{
|
|
cnt++;
|
|
cnt++;
|
|
s.len += uri.len;
|
|
s.len += uri.len;
|
|
@@ -1411,7 +1411,7 @@ int pv_get_branches(struct sip_msg *msg, pv_param_t *param,
|
|
i = 0;
|
|
i = 0;
|
|
p = pv_local_buf;
|
|
p = pv_local_buf;
|
|
|
|
|
|
- while ((uri.s = get_branch(i, &uri.len, &q, 0, 0, 0, 0)))
|
|
|
|
|
|
+ while ((uri.s = get_branch(i, &uri.len, &q, 0, 0, 0, 0, 0)))
|
|
{
|
|
{
|
|
if (i)
|
|
if (i)
|
|
{
|
|
{
|