s/optind/optidx/

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15541 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-01 07:14:58 +00:00
parent de92125f9d
commit ac8c82785c
8 changed files with 30 additions and 30 deletions

View File

@@ -68,12 +68,12 @@ main (int argc, char **argv)
krb5_error_code ret;
krb5_context context;
krb5_ccache ccache;
int optind = 0;
int optidx = 0;
int exit_val = 0;
setprogname (argv[0]);
if(getarg(args, num_args, argc, argv, &optind))
if(getarg(args, num_args, argc, argv, &optidx))
usage(1);
if (help_flag)
@@ -84,8 +84,8 @@ main (int argc, char **argv)
exit(0);
}
argc -= optind;
argv += optind;
argc -= optidx;
argv += optidx;
if (argc != 0)
usage (1);