[sr-dev] git:andrei/path: cpl-c(s): updated to the new append_branch()
Andrei Pelinescu-Onciul
andrei at iptel.org
Tue Sep 8 19:26:19 CEST 2009
Module: sip-router
Branch: andrei/path
Commit: dda1de2cad624c351b252f02829314f0130c8f0f
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dda1de2cad624c351b252f02829314f0130c8f0f
Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date: Fri Sep 4 15:21:26 2009 +0200
cpl-c(s): updated to the new append_branch()
---
modules_s/cpl-c/cpl_sig.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules_s/cpl-c/cpl_sig.c b/modules_s/cpl-c/cpl_sig.c
index d0623d6..00b0a32 100644
--- a/modules_s/cpl-c/cpl_sig.c
+++ b/modules_s/cpl-c/cpl_sig.c
@@ -83,7 +83,8 @@ int cpl_proxy_to_loc_set( struct sip_msg *msg, struct location **locs,
while(*locs) {
DBG("DEBUG:cpl_c:cpl_proxy_to_loc_set: appending branch "
"<%.*s>\n",(*locs)->addr.uri.len,(*locs)->addr.uri.s);
- if(append_branch(msg,(*locs)->addr.uri.s,(*locs)->addr.uri.len,0, 0, Q_UNSPECIFIED, 0)==-1){
+ if(append_branch(msg, &(*locs)->addr.uri,
+ 0, 0, Q_UNSPECIFIED, 0, 0)==-1){
LOG(L_ERR,"ERROR:cpl_c:cpl_proxy_to_loc_set: failed when "
"appending branch <%s>\n",(*locs)->addr.uri.s);
goto error;
More information about the sr-dev
mailing list