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

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

textops(k): msg_apply_changes: preserve the send flags

- restore also the msg send flags
(cherry picked from commit 79ba45449704df8fd21740b216fed710e1bd5101)

---

 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
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to