summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-15 23:32:28 -0800
committerJeremy Allison <jra@samba.org>2007-12-15 23:32:28 -0800
commit8e86b7bb6569fea9f974eb3da68bc282dde068d0 (patch)
tree423c1f21600f733233a30cab63cf2b82c56fb45b
parent5dbc4a23bcae0087ab4319b5343cf6f44a4819e3 (diff)
downloadsamba-8e86b7bb6569fea9f974eb3da68bc282dde068d0.tar.gz
samba-8e86b7bb6569fea9f974eb3da68bc282dde068d0.tar.bz2
samba-8e86b7bb6569fea9f974eb3da68bc282dde068d0.zip
Doh, fix typo in error exit.
Jeremy. (This used to be commit 44918f39c0598eec681eb9e5c65452f04809c375)
-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;
}