From 09b6eb4836a4ec82fc2145db185737a9e7d4b9e1 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 16 Dec 2009 20:04:32 +0000 Subject: [PATCH] Whitespace fixes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23477 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/gic_opt.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/lib/krb5/krb/gic_opt.c b/src/lib/krb5/krb/gic_opt.c index f4cfd9220..a6542a02a 100644 --- a/src/lib/krb5/krb/gic_opt.c +++ b/src/lib/krb5/krb/gic_opt.c @@ -470,8 +470,11 @@ krb5_get_init_creds_opt_free_pa(krb5_context context, } free(preauth_data); } -krb5_error_code KRB5_CALLCONV krb5_get_init_creds_opt_set_fast_ccache_name -(krb5_context context, krb5_get_init_creds_opt *opt, const char *ccache_name) + +krb5_error_code KRB5_CALLCONV +krb5_get_init_creds_opt_set_fast_ccache_name(krb5_context context, + krb5_get_init_creds_opt *opt, + const char *ccache_name) { krb5_error_code retval = 0; krb5_gic_opt_ext *opte; @@ -502,12 +505,12 @@ krb5_get_init_creds_opt_set_out_ccache(krb5_context context, if (retval) return retval; if (opte->opt_private->out_ccache) { - krb5_cc_close(context, opte->opt_private->out_ccache); + krb5_cc_close(context, opte->opt_private->out_ccache); opte->opt_private->out_ccache = NULL; } retval = krb5_cc_resolve(context, krb5_cc_get_name(context, ccache), - &opte->opt_private->out_ccache); - return retval; + &opte->opt_private->out_ccache); + return retval; } krb5_error_code KRB5_CALLCONV @@ -523,7 +526,7 @@ krb5_get_init_creds_opt_set_fast_flags(krb5_context context, if (retval) return retval; opte->opt_private->fast_flags = flags; - return retval; + return retval; } krb5_error_code KRB5_CALLCONV @@ -533,6 +536,7 @@ krb5_get_init_creds_opt_get_fast_flags(krb5_context context, { krb5_error_code retval = 0; krb5_gic_opt_ext *opte; + if (out_flags == NULL) return EINVAL; *out_flags = 0; @@ -541,6 +545,6 @@ krb5_get_init_creds_opt_get_fast_flags(krb5_context context, if (retval) return retval; *out_flags = opte->opt_private->fast_flags; - return retval; + return retval; } -- 2.26.2