[sr-dev] git:andrei/path: permissions(s): updated to the new next_branch()

Andrei Pelinescu-Onciul andrei at iptel.org
Tue Sep 8 19:26:19 CEST 2009


Module: sip-router
Branch: andrei/path
Commit: 8a9b30a1ddef464ac1f0f5759528f79e65597e14
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8a9b30a1ddef464ac1f0f5759528f79e65597e14

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Fri Sep  4 15:23:17 2009 +0200

permissions(s): updated to the new next_branch()

---

 modules_s/permissions/allow_files.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules_s/permissions/allow_files.c b/modules_s/permissions/allow_files.c
index 514a6d0..193d4fc 100644
--- a/modules_s/permissions/allow_files.c
+++ b/modules_s/permissions/allow_files.c
@@ -351,7 +351,7 @@ int check_routing(struct sip_msg* msg, int idx)
 
  check_branches:
         init_branch_iterator();
-        while((branch.s = next_branch(&branch.len, &q, 0, 0, 0))) {
+        while((branch.s = next_branch(&branch.len, &q, 0, 0, 0, 0))) {
                 uri_str = get_plain_uri(&branch);
                 if (!uri_str) {
                         LOG(L_ERR, "check_uri(): Error while extracting plain URI\n");




More information about the sr-dev mailing list