diff options
Diffstat (limited to 'src/windows/ms2mit/ms2mit.c')
-rw-r--r-- | src/windows/ms2mit/ms2mit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/windows/ms2mit/ms2mit.c b/src/windows/ms2mit/ms2mit.c index 5999a18471..3d73d0adfc 100644 --- a/src/windows/ms2mit/ms2mit.c +++ b/src/windows/ms2mit/ms2mit.c @@ -36,7 +36,7 @@ extern char *optarg; static char *prog; -static void +static void xusage(void) { fprintf(stderr, "xusage: %s [-c ccache]\n", prog); @@ -74,12 +74,12 @@ main( break; } } - + if (code = krb5_init_context(&kcontext)) { com_err(argv[0], code, "while initializing kerberos library"); exit(1); } - + if (code = krb5_cc_resolve(kcontext, "MSLSA:", &mslsa_ccache)) { com_err(argv[0], code, "while opening MS LSA ccache"); krb5_free_context(kcontext); @@ -101,7 +101,7 @@ main( exit(1); } - while (!(code = krb5_cc_next_cred(kcontext, mslsa_ccache, &cursor, &creds))) + while (!(code = krb5_cc_next_cred(kcontext, mslsa_ccache, &cursor, &creds))) { if ( creds.ticket_flags & TKT_FLG_INITIAL ) { krb5_free_cred_contents(kcontext, &creds); |