summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos/krb5_init_context.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-09-09 17:37:33 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-24 19:40:03 +0200
commit57edd24ca0fd91ae4d967666dc381147654e27f7 (patch)
tree07cfbc0606abb490c5aacc4b2c835599549829b8 /source4/auth/kerberos/krb5_init_context.c
parent9d849c30bc5dfb4c3b27639c52ba8c2a54d07471 (diff)
downloadsamba-57edd24ca0fd91ae4d967666dc381147654e27f7.tar.gz
samba-57edd24ca0fd91ae4d967666dc381147654e27f7.tar.bz2
samba-57edd24ca0fd91ae4d967666dc381147654e27f7.zip
Cosmetic corrections for the KERBEROS library
This commit applies some cosmetic corrections for the KERBEROS library.
Diffstat (limited to 'source4/auth/kerberos/krb5_init_context.c')
-rw-r--r--source4/auth/kerberos/krb5_init_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c
index 82e42a4560..90b542c4c4 100644
--- a/source4/auth/kerberos/krb5_init_context.c
+++ b/source4/auth/kerberos/krb5_init_context.c
@@ -49,13 +49,13 @@ struct smb_krb5_socket {
krb5_krbhst_info *hi;
};
-static int smb_krb5_context_destroy_1(struct smb_krb5_context *ctx)
+static krb5_error_code smb_krb5_context_destroy_1(struct smb_krb5_context *ctx)
{
krb5_free_context(ctx->krb5_context);
return 0;
}
-static int smb_krb5_context_destroy_2(struct smb_krb5_context *ctx)
+static krb5_error_code smb_krb5_context_destroy_2(struct smb_krb5_context *ctx)
{
/* Otherwise krb5_free_context will try and close what we have already free()ed */
krb5_set_warn_dest(ctx->krb5_context, NULL);