diff options
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/dc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c index fd5390143..7b6405754 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c @@ -179,10 +179,10 @@ static void stack_machine(const char *argument) */ static char *get_token(char **buffer) { - char *start = NULL; - char *current = *buffer; + char *start = NULL; + char *current; - while (isspace(*current)) { current++; } + current = skip_whitespace(*buffer); if (*current != 0) { start = current; while (!isspace(*current) && *current != 0) { current++; } |