Module: sip-router
Branch: hpw/branch_failure_route
Commit: 5d1a3b87fde83455f63075d8fdf39b7b99d4053c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5d1a3b8…
Author: Hugh Waite <hugh.waite(a)crocodile-rcs.com>
Committer: Hugh Waite <hugh.waite(a)crocodile-rcs.com>
Date: Wed Mar 27 14:25:32 2013 +0000
modules/xprint: Updated to use the new get_branch()/next_branch() functions
---
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 c653177..7dd9c99 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, 0);
+ branch.s = next_branch(&branch.len, &q, 0, 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, 0)))
+ while ((uri.s = next_branch(&uri.len, &q, 0, 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, 0)))
+ while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0, 0, 0)))
{
if (i)
{