aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/dc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index 8c9d77fc3..1953a9489 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;