From 4d651dad4b3ee17a9be223fc1c0489cd4e304f65 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 28 Mar 2007 19:34:53 +0200 Subject: [PATCH] Fix bug with stripping white space at the front of an option After advancing the passed in pointer, the destination never got set. Signed-off-by: Jens Axboe --- parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parse.c b/parse.c index 57865b11..bf1dea90 100644 --- a/parse.c +++ b/parse.c @@ -142,6 +142,8 @@ void strip_blank_front(char **p) while (isspace(*s)) s++; + + *p = s; } void strip_blank_end(char *p) -- 2.25.1