浏览代码

textops(k): msg_apply_changes: preserve the send flags

- restore also the msg send flags
(cherry picked from commit 79ba45449704df8fd21740b216fed710e1bd5101)
Andrei Pelinescu-Onciul 16 年之前
父节点
当前提交
88372eca71
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      modules_k/textops/textops.c

+ 2 - 0
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;