missed a couple report_msgs

This commit is contained in:
Ned Williamson 2016-02-03 23:27:48 -05:00
parent 07a2c217f8
commit 1189e27848
1 changed files with 3 additions and 3 deletions

View File

@ -319,11 +319,11 @@ static int callback_qira(struct libwebsocket_context* context,
char *space = strchr(dat, ' ');
if (space == NULL) {
msg("callback_qira: receieved malformed setcmt");
report_msg("callback_qira", "receieved malformed setcmt");
break;
}
if (strlen(dat) - strlen(space) <= 1) {
msg("callback_qira: recieved empty setcmt");
report_msg("callback_qira", "recieved empty setcmt");
}
*space = '\0';
char *cmt = space + 1;
@ -516,7 +516,7 @@ int idaapi websocket_thread(void *) {
context = libwebsocket_create_context(&info);
if (context == NULL) {
msg("websocket init failed\n");
report_msg("websockets_thread", "websocket init failed");
return -1;
}