The revision before the previous one is wrong, back it out.
This commit is contained in:
parent
053847beac
commit
e438227011
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue