Module: sip-router
Branch: pd/outbound
Commit: cb68cab9ce13142592590042283ca1aa3f85ac84
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cb68cab…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Thu Mar 14 23:34:18 2013 +0000
modules/permissions: updated use of get_branch() and next_branch() to cope with additional
argument
---
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 2ae7bd3..3e8d179 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 ;
+ for( br_idx=0 ; (branch.s=get_branch(br_idx,&branch.len,&q,0,0,0,0,0))!=0 ;
br_idx++ ) {
uri_str = get_plain_uri(&branch);
if (!uri_str) {