summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libads/kerberos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index 02e14f468d..227f95d15e 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -515,7 +515,7 @@ char *kerberos_get_default_realm_from_ccache( void )
if (krb5_cc_get_principal(ctx, cc, &princ)) {
DEBUG(0,("kerberos_get_default_realm_from_ccache: "
"failed to get default principal\n"));
- goto done;
+ goto out;
}
#if defined(HAVE_KRB5_PRINCIPAL_GET_REALM)
@@ -535,7 +535,7 @@ char *kerberos_get_default_realm_from_ccache( void )
if (ctx) {
krb5_free_context(ctx);
}
-done:
+
return realm;
}