Module: sip-router
Branch: master
Commit: 94ec0ae08c85a1d84e05a5689c8bfcd13652d5a4
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=94ec0ae…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue Sep 29 20:04:02 2009 +0200
dispatcher(k): append_branch() api changes
---
modules_k/dispatcher/dispatch.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules_k/dispatcher/dispatch.c b/modules_k/dispatcher/dispatch.c
index ff260f9..d1fa863 100644
--- a/modules_k/dispatcher/dispatch.c
+++ b/modules_k/dispatcher/dispatch.c
@@ -1061,8 +1061,7 @@ static inline int ds_update_dst(struct sip_msg *msg, str *uri, int
mode)
}
if(ds_append_branch!=0 && route_type==FAILURE_ROUTE)
{
- if (append_branch(msg, 0, 0, (duri)?duri->s:0, (duri)?duri->len:0,
- Q_UNSPECIFIED, 0)!=1 )
+ if (append_branch(msg, 0, duri, 0, Q_UNSPECIFIED, 0, 0)!=1 )
{
LM_ERR("append_branch action failed\n");
return -1;