diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-10 13:38:35 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-10 13:38:35 +0400 |
commit | de17ece1dbbb3a5399e82fb5b820bb44997f8ca4 (patch) | |
tree | bf440665c9a99743cc22195351b0eec490ab8204 /miscutils/dc.c | |
parent | 8b1fab2879d57b044342ee3fece0825d4d3a509a (diff) |
- use skip_non_whitespace() where appropriate
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 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; |