[sr-dev] git:kamailio_3.0: tmx: pv_t_copy_msg: copy also the send flags

Daniel-Constantin Mierla miconda at gmail.com
Fri Nov 6 10:20:27 CET 2009


Module: sip-router
Branch: kamailio_3.0
Commit: 3509dab67e4df6d737da4f1c48e2f7d0563b2d4c
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3509dab67e4df6d737da4f1c48e2f7d0563b2d4c

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Nov  5 15:19:29 2009 +0100

tmx: pv_t_copy_msg: copy also the send flags
(cherry picked from commit 2c3aaa7aad0907a23e7f5d5bb3e743d25f734faf)

---

 modules_k/tmx/t_var.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules_k/tmx/t_var.c b/modules_k/tmx/t_var.c
index e54e99f..6441763 100644
--- a/modules_k/tmx/t_var.c
+++ b/modules_k/tmx/t_var.c
@@ -52,6 +52,8 @@ int pv_t_copy_msg(struct sip_msg *src, struct sip_msg *dst)
 	dst->set_global_address=src->set_global_address;
 	dst->set_global_port=src->set_global_port;
 	dst->flags = src->flags;
+	dst->fwd_send_flags = src->fwd_send_flags;
+	dst->rpl_send_flags = src->rpl_send_flags;
 	dst->force_send_socket = src->force_send_socket;
 
 	if (parse_msg(dst->buf, dst->len, dst)!=0)




More information about the sr-dev mailing list