Reindentation, typo fix

This commit is contained in:
NHOrus 2018-11-23 20:19:22 +03:00
parent f1d3b75561
commit 524f035e76
2 changed files with 24 additions and 24 deletions

2
misc.c
View file

@ -478,7 +478,7 @@ static void tokenize(char* raw, command_t *cmd)
* Be caereful about modifing this. We do not want to nuke the
* the speech part or ID from the previous turn.
*/
memset(&cmd->word[0].raw, '\0', sizeof(cmd->word[0],raw));
memset(&cmd->word[0].raw, '\0', sizeof(cmd->word[0].raw));
memset(&cmd->word[1].raw, '\0', sizeof(cmd->word[1].raw));
/* Bound prefix on the %s would be needed to prevent buffer