- use skip_non_whitespace() where appropriate

This commit is contained in:
Bernhard Reutner-Fischer
2007-04-10 09:38:35 +00:00
parent 8b1fab2879
commit de17ece1db
3 changed files with 3 additions and 7 deletions

View File

@@ -182,9 +182,7 @@ static char *get_token(char **buffer)
current = skip_whitespace(*buffer);
if (*current != 0) {
start = current;
while (!isspace(*current) && *current != 0) {
current++;
}
current = skip_non_whitespace(current);
*buffer = current;
}
return start;