Module: sip-router Branch: andrei/path Commit: 858f5afd22ee01a4b476f47474314ee4735467c3 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=858f5afd...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Fri Sep 4 15:24:16 2009 +0200
xlog(s): updated to the new next_branch()
---
modules_s/xlog/xl_lib.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules_s/xlog/xl_lib.c b/modules_s/xlog/xl_lib.c index eac0480..1242184 100644 --- a/modules_s/xlog/xl_lib.c +++ b/modules_s/xlog/xl_lib.c @@ -699,7 +699,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); + branch.s = next_branch(&branch.len, &q, 0, 0, 0, 0); if (!branch.s) { return xl_get_null(msg, res, hp, hi, hf); } @@ -730,7 +730,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))) + while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0))) { cnt++; len += uri.len; @@ -755,7 +755,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))) + while ((uri.s = next_branch(&uri.len, &q, 0, 0, 0, 0))) { if (i) {