Invalid # of args

This commit is contained in:
Enno Rehling 2002-11-02 14:31:11 +00:00
parent 0ca87233d3
commit 1ecdd3dd7f
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ read_newfactions(const char * filename)
if (fscanf(F, "%s %s %s %d %s %d %d", email, race, lang, &bonus, &subscription, password, &alliance)<=0) break;
#else
/* email;race;locale;startbonus;subscription */
if (fscanf(F, "%s %s %s %d %s", email, race, lang, &bonus, &subscription, password)<=0) break;
if (fscanf(F, "%s %s %s %d %d %s", email, race, lang, &bonus, &subscription, password)<=0) break;
#endif
while (f) {
if (strcmp(f->email, email)==0 && f->age==0) {