Module: sip-router
Branch: master
Commit: ff890a4eee1888ed3e1e080a18bd72124ab99690
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ff890a4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Apr 26 19:00:36 2013 +0200
tm: fixed name of the target uri used for From header
- effect of previous commit
---
modules/tm/t_msgbuilder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/tm/t_msgbuilder.c b/modules/tm/t_msgbuilder.c
index b36020a..2beb918 100644
--- a/modules/tm/t_msgbuilder.c
+++ b/modules/tm/t_msgbuilder.c
@@ -1424,7 +1424,7 @@ static inline char* print_from(char* w, dlg_t* dialog, struct cell*
t)
{
t->from.s = w;
t->from.len = FROM_LEN + dialog->loc_uri.len + CRLF_LEN
- + (dialog->rem_uri.s[0]!='<')?2:0;
+ + (dialog->loc_uri.s[0]!='<')?2:0;
memapp(w, FROM, FROM_LEN);
if(dialog->loc_uri.s[0]!='<') memapp(w, "<", 1);