summaryrefslogtreecommitdiffstats
path: root/src/windows/ms2mit
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2009-10-31 00:48:38 +0000
committerTom Yu <tlyu@mit.edu>2009-10-31 00:48:38 +0000
commit02d6bcbc98a214e7aeaaa9f45f0db8784a7b743b (patch)
tree61b9147863cd8be3eff63903dc36cae168254bd5 /src/windows/ms2mit
parent162ab371748cba0cc6f172419bd6e71fa04bb878 (diff)
make mark-cstyle
make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/ms2mit')
-rw-r--r--src/windows/ms2mit/mit2ms.c6
-rw-r--r--src/windows/ms2mit/ms2mit.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/src/windows/ms2mit/mit2ms.c b/src/windows/ms2mit/mit2ms.c
index 6f30d9f6d..ac36cba6d 100644
--- a/src/windows/ms2mit/mit2ms.c
+++ b/src/windows/ms2mit/mit2ms.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);
@@ -79,7 +79,7 @@ main(
com_err(argv[0], code, "while initializing kerberos library");
exit(1);
}
-
+
if (ccachestr)
code = krb5_cc_resolve(kcontext, ccachestr, &ccache);
else
@@ -99,7 +99,7 @@ main(
exit(1);
}
- while (!(code = krb5_cc_next_cred(kcontext, ccache, &cursor, &creds)))
+ while (!(code = krb5_cc_next_cred(kcontext, ccache, &cursor, &creds)))
{
if ( creds.ticket_flags & TKT_FLG_INITIAL ) {
krb5_free_cred_contents(kcontext, &creds);
diff --git a/src/windows/ms2mit/ms2mit.c b/src/windows/ms2mit/ms2mit.c
index 5999a1847..3d73d0adf 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);