[sr-dev] git:master:228eaef0: Merge pull request #2545 from alexyosifov/core_msg_translator

GitHub noreply at github.com
Wed Nov 11 08:11:07 CET 2020


Module: kamailio
Branch: master
Commit: 228eaef0d4e1cae97a23bedd8a6160585fa4e3da
URL: https://github.com/kamailio/kamailio/commit/228eaef0d4e1cae97a23bedd8a6160585fa4e3da

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2020-11-11T08:11:01+01:00

Merge pull request #2545 from alexyosifov/core_msg_translator

core: added missing field in sip_msg_update_buffer

---

Modified: src/core/msg_translator.c

---

Diff:  https://github.com/kamailio/kamailio/commit/228eaef0d4e1cae97a23bedd8a6160585fa4e3da.diff
Patch: https://github.com/kamailio/kamailio/commit/228eaef0d4e1cae97a23bedd8a6160585fa4e3da.patch

---

diff --git a/src/core/msg_translator.c b/src/core/msg_translator.c
index fd183d4f80..77b90a92c6 100644
--- a/src/core/msg_translator.c
+++ b/src/core/msg_translator.c
@@ -3276,6 +3276,7 @@ int sip_msg_update_buffer(sip_msg_t *msg, str *obuf)
 	/* restore msg fields */
 	msg->buf = tmp.buf;
 	msg->id = tmp.id;
+	msg->pid = tmp.pid;
 	msg->rcv = tmp.rcv;
 	msg->set_global_address = tmp.set_global_address;
 	msg->set_global_port = tmp.set_global_port;




More information about the sr-dev mailing list