git:kamailio_3.0: tmx: pv_t_copy_msg: copy also the send flags

1 message Options
Embed this post
Permalink
Daniel-Constantin Mierla

git:kamailio_3.0: tmx: pv_t_copy_msg: copy also the send flags

Reply Threaded More More options
Print post
Permalink
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 <[hidden email]>
Committer: Daniel-Constantin Mierla <[hidden email]>
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)


_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev