diff options
Diffstat (limited to '')
-rw-r--r-- | util/ChangeLog | 5 | ||||
-rw-r--r-- | util/argparse.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/util/ChangeLog b/util/ChangeLog index 7e7e099cd..9550271d9 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,8 @@ +2002-07-01 David Shaw <[email protected]> + + * argparse.c (optfile_parse): Fix variable typo - 'p2' should be + 'p' :) + 2002-06-29 Werner Koch <[email protected]> * argparse.c (optfile_parse): Renamed an auto I to P2 to avoid diff --git a/util/argparse.c b/util/argparse.c index b857c1d61..cd518d138 100644 --- a/util/argparse.c +++ b/util/argparse.c @@ -337,8 +337,8 @@ optfile_parse( FILE *fp, const char *filename, unsigned *lineno, break; if(*p2=='"' && *(p2+1)=='\0') { - p2[strlen(p2)-1] = 0; - p2++; + p[strlen(p)-1] = 0; + p++; } } if( !set_opt_arg(arg, opts[idx].flags, p) ) |