The revision before the previous one is wrong, back it out.

This commit is contained in:
Markus Armbruster 2006-03-26 17:33:46 +00:00
parent 053847beac
commit e438227011

View file

@ -464,13 +464,13 @@ getin(s_char **what, s_char **p, int *arg, s_char *buf)
if (**what == '\0') if (**what == '\0')
return END; return END;
while (**what && isspace(**what)) while (**what && isspace(**what))
*what++; (*what)++;
if (**what == '\0') if (**what == '\0')
return RET_SYN; return RET_SYN;
for (*p = *what; **p && !isspace(**p); *p++) /* skip non spaces */ for (*p = *what; **p && !isspace(**p); (*p)++) /* skip non spaces */
continue; continue;
while (**p && isspace(**p)) while (**p && isspace(**p))
*p++; (*p)++;
if (**p == '\0') if (**p == '\0')
return RET_SYN; return RET_SYN;
*arg = atoi(*p); *arg = atoi(*p);