Skip to content

Commit

Permalink
imc: let space for ending characters
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jun 30, 2020
1 parent d6361c2 commit 1d25629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/imc/imc_cmd.c
Expand Up @@ -1027,7 +1027,7 @@ int imc_handle_rooms(struct sip_msg* msg, imc_cmd_t *cmd,
size_t left;

p = imc_body_buf;
left = sizeof(imc_body_buf);
left = sizeof(imc_body_buf) - 2;

memcpy(p, ROOMS, sizeof(ROOMS) - 1);
p += sizeof(ROOMS) - 1;
Expand Down

0 comments on commit 1d25629

Please sign in to comment.