fix optind

ok ray@
This commit is contained in:
jasper 2007-05-21 07:53:11 +00:00
parent 22329fd6f6
commit c3a569adfb

View File

@ -75,7 +75,7 @@ main(int argc, char **argv)
} }
} }
argc -= optind; argc -= optind;
argv +- optind; argv += optind;
/* Ignore a few signals. */ /* Ignore a few signals. */
if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) if (signal(SIGPIPE, SIG_IGN) == SIG_ERR)