forked from github/server
sscanf format was too big
This commit is contained in:
parent
fdd28835b5
commit
923f01190c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue