aboutsummaryrefslogtreecommitdiffstats
path: root/util/argparse.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--util/argparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/argparse.c b/util/argparse.c
index c6c0302b9..89c873ce0 100644
--- a/util/argparse.c
+++ b/util/argparse.c
@@ -286,7 +286,7 @@ optfile_parse( FILE *fp, const char *filename, unsigned *lineno,
else if( state == 3 ) { /* skip leading spaces of the argument */
if( !isspace(c) ) {
i = 0;
- keyword[i] = c;
+ keyword[i++] = c;
state = 4;
}
}