Module: sip-router
Branch: master
Commit: 2a791567ae8697c171a9584c2a10e7d6a16253c5
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2a79156…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue Sep 29 20:03:35 2009 +0200
cpl-c(k): append_branch() api changes
---
modules_k/cpl-c/cpl_sig.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules_k/cpl-c/cpl_sig.c b/modules_k/cpl-c/cpl_sig.c
index d77c1fc..8f84e77 100644
--- a/modules_k/cpl-c/cpl_sig.c
+++ b/modules_k/cpl-c/cpl_sig.c
@@ -87,9 +87,8 @@ int cpl_proxy_to_loc_set( struct sip_msg *msg, struct location **locs,
bflags = ((*locs)->flags&CPL_LOC_NATED) ? cpl_fct.ulb.nat_flag : 0 ;
LM_DBG("appending branch <%.*s>, flags %d\n",
(*locs)->addr.uri.len, (*locs)->addr.uri.s, bflags);
- if(append_branch(msg, (*locs)->addr.uri.s, (*locs)->addr.uri.len,
- (*locs)->addr.received.s, (*locs)->addr.received.len,
- Q_UNSPECIFIED, 0)==-1){
+ if(append_branch(msg, &(*locs)->addr.uri, &(*locs)->addr.received, 0,
+ Q_UNSPECIFIED, bflags, 0)==-1){
LM_ERR("failed when appending branch <%s>\n",(*locs)->addr.uri.s);
goto error;
}