[sr-dev] git:3.1: textopsx: copy msg->hash_index in msg_apply_changes()

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 6 01:05:11 CEST 2011


Module: sip-router
Branch: 3.1
Commit: 2321064b0b0774c245e7bbd2691530a87985d870
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2321064b0b0774c245e7bbd2691530a87985d870

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Thu Oct  6 01:02:11 2011 +0200

textopsx: copy msg->hash_index in msg_apply_changes()

- patch by Hugh Waite
(cherry picked from commit c0eb441000e08e1efce8730ddae51efdddc9814a)

---

 modules/textopsx/textopsx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/textopsx/textopsx.c b/modules/textopsx/textopsx.c
index c20d1c0..8fd0de0 100644
--- a/modules/textopsx/textopsx.c
+++ b/modules/textopsx/textopsx.c
@@ -123,6 +123,7 @@ static int msg_apply_changes_f(sip_msg_t *msg, char *str1, char *str2)
 	msg->set_global_port    = tmp.set_global_port;
 	msg->flags              = tmp.flags;
 	msg->msg_flags          = tmp.msg_flags;
+	msg->hash_index         = tmp.hash_index;
 	msg->force_send_socket  = tmp.force_send_socket;
 	msg->fwd_send_flags     = tmp.fwd_send_flags;
 	msg->rpl_send_flags     = tmp.rpl_send_flags;




More information about the sr-dev mailing list