From de17ece1dbbb3a5399e82fb5b820bb44997f8ca4 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 10 Apr 2007 09:38:35 +0000 Subject: - use skip_non_whitespace() where appropriate --- miscutils/dc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'miscutils/dc.c') 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; -- cgit v1.2.3