Module: sip-router
Branch: master
Commit: b23a7ab13046347a70ffb1be19a9896d0ff3fc61
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b23a7ab…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Tue Sep 29 20:02:09 2009 +0200
alias_db(k): append_branch() api changes
---
modules_k/alias_db/alookup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/alias_db/alookup.c b/modules_k/alias_db/alookup.c
index 48909e9..33bb65a 100644
--- a/modules_k/alias_db/alookup.c
+++ b/modules_k/alias_db/alookup.c
@@ -207,7 +207,7 @@ int alias_db_lookup(struct sip_msg* _msg, char* _table, char* _str2)
break;
} else {
user_s.s = useruri_buf;
- if (append_branch(_msg, useruri_buf, 0, 0, MIN_Q, 0, 0) == -1)
+ if (append_branch(_msg, &user_s, 0, 0, MIN_Q, 0, 0) == -1)
{
LM_ERR("error while appending branches\n");
goto err_server;