sscanf format was too big

This commit is contained in:
Enno Rehling 2017-11-20 07:52:56 +01:00
parent fdd28835b5
commit 923f01190c
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ newfaction *read_newfactions(const char *filename)
email[0] = '\0';
password[0] = '\0';
if (sscanf(buf, "%54s %19s %8s %16s %d %d", email, race, lang,
if (sscanf(buf, "%54s %19s %7s %15s %d %d", email, race, lang,
password, &subscription, &alliance) < 3) {
break;
}