changeset 59:25861c440f15

Possibly fix a bug in argument handling.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 09 Jul 2011 11:48:52 +0300
parents 6bddfed775f8
children 676c6104ee22
files pwplib/setup.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pwplib/setup.c	Thu Jul 01 11:09:43 2010 +0300
+++ b/pwplib/setup.c	Sat Jul 09 11:48:52 2011 +0300
@@ -204,7 +204,7 @@
               if (ARGV[i] != NULL)
               {
                  *((char**)(opts[wh].var)) = strdup(ARGV[i]);
-                 rmarg(&ARGC, &ARGV, 1);
+                 rmarg(&ARGC, ARGV, 1);
               }
               break;
         }