diff options
author | David Shaw <[email protected]> | 2002-07-01 21:42:41 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-07-01 21:42:41 +0000 |
commit | fe1495e44e224a47499baf77249ae5b217874f47 (patch) | |
tree | d466b297e192f82cbda6ce8b3fdc7aae901a29cb | |
parent | * gpgkeys_hkp.c (parse_hkp_index): Error if the keyserver returns an (diff) | |
download | gnupg-fe1495e44e224a47499baf77249ae5b217874f47.tar.gz gnupg-fe1495e44e224a47499baf77249ae5b217874f47.zip |
* argparse.c (optfile_parse): Fix variable typo - 'p2' should be 'p' :)
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) ) |