commit | 4d651dad4b3ee17a9be223fc1c0489cd4e304f65 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Mar 28 19:34:53 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Mar 28 19:34:53 2007 +0200 |
tree | ba732467aa2ec74a6a1cdf0ec3a39a688e9f7046 | |
parent | 97cc1a8cc97b0caf5edbca0042edacf617cdad71 [diff] |
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 <jens.axboe@oracle.com>
diff --git a/parse.c b/parse.c index 57865b1..bf1dea9 100644 --- a/parse.c +++ b/parse.c
@@ -142,6 +142,8 @@ while (isspace(*s)) s++; + + *p = s; } void strip_blank_end(char *p)