* argparse.c (optfile_parse): Fix variable typo - 'p2' should be 'p' :)
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 1 Jul 2002 21:42:41 +0000 (21:42 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 1 Jul 2002 21:42:41 +0000 (21:42 +0000)
util/ChangeLog
util/argparse.c

index 7e7e099..9550271 100644 (file)
@@ -1,3 +1,8 @@
+2002-07-01  David Shaw  <dshaw@jabberwocky.com>
+
+       * argparse.c (optfile_parse): Fix variable typo - 'p2' should be
+       'p' :)
+
 2002-06-29  Werner Koch  <wk@gnupg.org>
 
        * argparse.c (optfile_parse): Renamed an auto I to P2 to avoid
index b857c1d..cd518d1 100644 (file)
@@ -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) )