sscanf format was too big

This commit is contained in:
Enno Rehling 2017-11-20 07:52:56 +01:00
parent fdd28835b5
commit 923f01190c

View file

@ -155,7 +155,7 @@ newfaction *read_newfactions(const char *filename)
email[0] = '\0'; email[0] = '\0';
password[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) { password, &subscription, &alliance) < 3) {
break; break;
} }