diff options
author | Love Hörnquist Åstrand <lha@kth.se> | 2005-07-01 07:14:58 +0000 |
---|---|---|
committer | Love Hörnquist Åstrand <lha@kth.se> | 2005-07-01 07:14:58 +0000 |
commit | ac8c82785c7dc2e20c570aea998d87e4f4d8b49e (patch) | |
tree | e7dc862402ba33e9ca08ddbcc7baa237cd3f4c01 /kuser/copy_cred_cache.c | |
parent | de92125f9d631dbc34ebd66932c85083c8e9f9ba (diff) |
s/optind/optidx/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15541 ec53bebd-3082-4978-b11e-865c3cabbd6b
Diffstat (limited to 'kuser/copy_cred_cache.c')
-rw-r--r-- | kuser/copy_cred_cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kuser/copy_cred_cache.c b/kuser/copy_cred_cache.c index 590f1c057..d53912f09 100644 --- a/kuser/copy_cred_cache.c +++ b/kuser/copy_cred_cache.c @@ -113,7 +113,7 @@ main(int argc, char **argv) { krb5_error_code ret; krb5_context context; - int optind = 0; + int optidx = 0; const char *from_name, *to_name; krb5_ccache from_ccache, to_ccache; krb5_flags whichfields = 0; @@ -124,7 +124,7 @@ main(int argc, char **argv) memset(&mcreds, 0, sizeof(mcreds)); - if (getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optind)) + if (getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optidx)) usage(1); if (help_flag) @@ -134,8 +134,8 @@ main(int argc, char **argv) print_version(NULL); exit(0); } - argc -= optind; - argv += optind; + argc -= optidx; + argv += optidx; if (argc < 1 || argc > 2) usage(1); |