diff options
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r-- | miscutils/dc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c index 8c9d77f..1953a94 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c @@ -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; |