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

1 message Options
Embed this post
Permalink
Andrei Pelinescu-Onciul

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

Reply Threaded More More options
Print post
Permalink
Module: sip-router
Branch: sr_3.0
Commit: 2c3aaa7aad0907a23e7f5d5bb3e743d25f734faf
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2c3aaa7aad0907a23e7f5d5bb3e743d25f734faf

Author: Andrei Pelinescu-Onciul <[hidden email]>
Committer: Andrei Pelinescu-Onciul <[hidden email]>
Date:   Thu Nov  5 15:19:29 2009 +0100

tmx: pv_t_copy_msg: copy also the send flags

---

 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