fix problems with passwords > 15 characters

This commit is contained in:
Enno Rehling 2018-12-03 10:09:03 +01:00
parent 069a94f830
commit 7d9280b463
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ static void handle_unit(void *userData, int no) {
static void handle_order(void *userData, const char *str) { static void handle_order(void *userData, const char *str) {
parser_state *state = (parser_state *)userData; parser_state *state = (parser_state *)userData;
const char * tok, *input = str; const char * tok, *input = str;
char buffer[16]; char buffer[64];
const struct locale *lang; const struct locale *lang;
param_t p; param_t p;
faction * f = state->f; faction * f = state->f;