From: Jens Axboe Date: Wed, 28 Mar 2007 17:34:53 +0000 (+0200) Subject: Fix bug with stripping white space at the front of an option X-Git-Tag: fio-1.15.1~18 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=4d651dad4b3ee17a9be223fc1c0489cd4e304f65 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 --- 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)