Skip to content

Commit

Permalink
core: added missing field in sip_msg_update_buffer
Browse files Browse the repository at this point in the history
- added a missing field in sip_msg_update_buffer()
  when restoring message fiedls: msg->pid.

(cherry picked from commit 57be5c1)
  • Loading branch information
alexyosifov authored and miconda committed Nov 19, 2020
1 parent f6747a1 commit bec6cdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/msg_translator.c
Expand Up @@ -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;
Expand Down

0 comments on commit bec6cdf

Please sign in to comment.