Skip to content

Commit

Permalink
fix to handle impromptu messages properly
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrez committed Feb 14, 2024
1 parent 02ed62a commit 8757fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ile/src/handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int main(int _argc, char **argv)
size_t msg_info_buf_size = 128+sizeof(RTVM0100) + replacement_data_len;
RTVM0100 *msg_info_buf = (RTVM0100*)malloc(msg_info_buf_size);
memset(msg_info_buf, 0x00, msg_info_buf_size);
if('0' == qualified_msg_file[0]) {
if(' ' == qualified_msg_file[0]) {
DEBUG("Message not from message file\n");
strncpy(msg_info_buf->message, replacement_data_aligned, replacement_data_len);
} else {
Expand Down

0 comments on commit 8757fb0

Please sign in to comment.