Module: sip-router
Branch: hpw/branch_failure_route
Commit: 691ebf0178aa25b5ef19eb6a220d335be3900a3b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=691ebf0…
Author: Hugh Waite <hugh.waite(a)crocodile-rcs.com>
Committer: Hugh Waite <hugh.waite(a)crocodile-rcs.com>
Date: Wed Mar 27 11:52:15 2013 +0000
modules/permissions: Updated to use the new get_branch()/next_branch() functions
---
modules/permissions/permissions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/permissions/permissions.c b/modules/permissions/permissions.c
index 3e8d179..f9115e8 100644
--- a/modules/permissions/permissions.c
+++ b/modules/permissions/permissions.c
@@ -406,7 +406,7 @@ static int check_routing(struct sip_msg* msg, int idx)
}
check_branches:
- for( br_idx=0 ; (branch.s=get_branch(br_idx,&branch.len,&q,0,0,0,0,0))!=0 ;
+ for( br_idx=0 ; (branch.s=get_branch(br_idx,&branch.len,&q,0,0,0,0,0,0))!=0 ;
br_idx++ ) {
uri_str = get_plain_uri(&branch);
if (!uri_str) {