git:sr_3.0: textops(k): msg_apply_changes: preserve the send flags

1 message Options
Embed this post
Permalink
Andrei Pelinescu-Onciul

git:sr_3.0: textops(k): msg_apply_changes: preserve the send flags

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

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

textops(k): msg_apply_changes: preserve the send flags

- restore also the msg send flags

---

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

diff --git a/modules_k/textops/textops.c b/modules_k/textops/textops.c
index bc7bdcd..5fe9469 100644
--- a/modules_k/textops/textops.c
+++ b/modules_k/textops/textops.c
@@ -1903,6 +1903,8 @@ static int msg_apply_changes_f(sip_msg_t *msg, char *str1, char *str2)
  msg->flags              = tmp.flags;
  msg->msg_flags          = tmp.msg_flags;
  msg->force_send_socket  = tmp.force_send_socket;
+ msg->fwd_send_flags     = tmp.fwd_send_flags;
+ msg->rpl_send_flags     = tmp.rpl_send_flags;
  msg->dst_uri            = tmp.dst_uri;
  msg->path_vec           = tmp.path_vec;
 


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