- use skip_non_whitespace() where appropriate
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user