From: Matthias Dieter Wallnöfer Date: Thu, 18 Sep 2008 13:34:58 +0000 (+0200) Subject: Kerberos cosmetic changes: Revert a part of the patch X-Git-Tag: samba-4.0.0alpha6~769^2~228^2~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79854dc48a6f5448e4a435261ad2d9e9a2bbc712;p=thirdparty%2Fsamba.git Kerberos cosmetic changes: Revert a part of the patch Reverts a part of the patch because it changes the function of the code (suggested by Jelmer). --- diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c index 0567565d339..4704f4805f0 100644 --- a/source4/auth/kerberos/kerberos_util.c +++ b/source4/auth/kerberos/kerberos_util.c @@ -243,7 +243,9 @@ static krb5_error_code salt_principal_from_credentials(TALLOC_CTX *parent_ctx, static krb5_error_code free_keytab(struct keytab_container *ktc) { - return krb5_kt_close(ktc->smb_krb5_context->krb5_context, ktc->keytab); + krb5_kt_close(ktc->smb_krb5_context->krb5_context, ktc->keytab); + + return 0; } krb5_error_code smb_krb5_open_keytab(TALLOC_CTX *mem_ctx,