trimming string on command fn

This commit is contained in:
Václav Šmejkal 2024-08-28 13:48:18 +02:00
parent 7647be3daf
commit 854e8399fb
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -75,6 +75,8 @@ why2_bool command(char *input, char *command, char **arg)
}
(*arg)[strlen(input) - strlen(full_cmd) - 2] = '\0'; //NULL TERM
why2_trim_string(arg);
}
}