Module: sip-router
Branch: 4.0
Commit: d8c3a23ad2a5c925b16d75f33fcb865f09d7f308
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d8c3a23…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Jul 3 23:29:29 2013 +0200
uac_redirect: adapted previous backport to append_branch() prototype for v4.0
---
modules/uac_redirect/rd_funcs.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/uac_redirect/rd_funcs.c b/modules/uac_redirect/rd_funcs.c
index 89917f7..69e6f31 100644
--- a/modules/uac_redirect/rd_funcs.c
+++ b/modules/uac_redirect/rd_funcs.c
@@ -290,8 +290,7 @@ static int shmcontact2dset(struct sip_msg *req, struct sip_msg
*sh_rpl,
scontacts[i]->uri.s);
if(sruid_next(&_redirect_sruid)==0) {
if(append_branch( 0, &scontacts[i]->uri, 0, 0, sqvalues[i],
- bflags, 0, &_redirect_sruid.uid, 0,
- &_redirect_sruid.uid, &_redirect_sruid.uid)<0) {
+ bflags, 0, &_redirect_sruid.uid, 0)<0) {
LM_ERR("failed to add contact to dset\n");
} else {
added++;