Module: sip-router
Branch: andrei/path
Commit: bf527133f33fdeb09dfbd4525fedf33a32a821cd
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bf52713…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Sep 4 15:22:38 2009 +0200
osp(s): updated to the new append_branch()
---
modules_s/osp/orig_transaction.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules_s/osp/orig_transaction.c b/modules_s/osp/orig_transaction.c
index 3904799..905b770 100644
--- a/modules_s/osp/orig_transaction.c
+++ b/modules_s/osp/orig_transaction.c
@@ -452,7 +452,8 @@ static int ospPrepareDestination(
if (isfirst == OSP_FIRST_ROUTE) {
rewrite_uri(msg, &newuri);
} else {
- append_branch(msg, newuri.s, newuri.len, NULL, 0, Q_UNSPECIFIED, NULL);
+ append_branch(msg, &newuri, NULL, NULL, Q_UNSPECIFIED,
+ 0, NULL);
}
result = MODULE_RETURNCODE_TRUE;