Module: sip-router Branch: pd/outbound Commit: 0137a2a91d29cbd80829b79dcb4cfd9659b7e9be URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0137a2a9...
Author: Peter Dunkley peter.dunkley@crocodile-rcs.com Committer: Peter Dunkley peter.dunkley@crocodile-rcs.com Date: Thu Mar 14 23:35:02 2013 +0000
modules/xprint: updated use of get_branch() and next_branch() to cope with additional argument
---
modules/xprint/xp_lib.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/xprint/xp_lib.c b/modules/xprint/xp_lib.c index 2f2fba5..c653177 100644 --- a/modules/xprint/xp_lib.c +++ b/modules/xprint/xp_lib.c @@ -700,7 +700,7 @@ static int xl_get_branch(struct sip_msg *msg, str *res, str *hp, int hi, int hf)
init_branch_iterator(); - branch.s = next_branch(&branch.len, &q, 0, 0, 0, 0); + branch.s = next_branch(&branch.len, &q, 0, 0, 0, 0, 0); if (!branch.s) { return xl_get_null(msg, res, hp, hi, hf); } @@ -731,7 +731,7 @@ static int xl_get_branches(struct sip_msg *msg, str *res, str *hp, int hi, int h cnt = len = 0;
init_branch_iterator(); - while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0))) + while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0, 0))) { cnt++; len += uri.len; @@ -756,7 +756,7 @@ static int xl_get_branches(struct sip_msg *msg, str *res, str *hp, int hi, int h p = local_buf;
init_branch_iterator(); - while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0))) + while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0, 0))) { if (i) {