diff options
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c index 5e367fe..451423c 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c @@ -168,7 +168,7 @@ static char *get_token(char **buffer) while (isspace(*current)) { current++; } if (*current != 0) { start = current; - while (!isspace(*current) && current != 0) { current++; } + while (!isspace(*current) && *current != 0) { current++; } *buffer = current; } return start; |