Browse code

Merge pull request #2545 from alexyosifov/core_msg_translator

core: added missing field in sip_msg_update_buffer

Daniel-Constantin Mierla authored on 11/11/2020 07:11:01 • GitHub committed on 11/11/2020 07:11:01
Showing 1 changed files
... ...
@@ -3276,6 +3276,7 @@ int sip_msg_update_buffer(sip_msg_t *msg, str *obuf)
3276 3276
 	/* restore msg fields */
3277 3277
 	msg->buf = tmp.buf;
3278 3278
 	msg->id = tmp.id;
3279
+	msg->pid = tmp.pid;
3279 3280
 	msg->rcv = tmp.rcv;
3280 3281
 	msg->set_global_address = tmp.set_global_address;
3281 3282
 	msg->set_global_port = tmp.set_global_port;