summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-26 16:54:42 -0400
committerSimo Sorce <idra@samba.org>2012-05-04 16:51:29 +0200
commit205b032061bffe68fd784ebdc33d485acd57a5b1 (patch)
tree8e9db9e3597ed1597eb4674706d21947d9bb2337
parentcf7d15e0758040c91c262749f7ceea3ca7d3fab8 (diff)
downloadsamba-205b032061bffe68fd784ebdc33d485acd57a5b1.tar.gz
samba-205b032061bffe68fd784ebdc33d485acd57a5b1.tar.xz
samba-205b032061bffe68fd784ebdc33d485acd57a5b1.zip
Fix compiler warning
-rw-r--r--source4/auth/kerberos/kerberos_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index e70782013e8..17ae99c6cd4 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -225,9 +225,9 @@ static krb5_error_code impersonate_principal_from_credentials(
tries = 2;
while (tries--) {
+#ifdef SAMBA4_USES_HEIMDAL
struct tevent_context *previous_ev;
/* Do this every time, in case we have weird recursive issues here */
-#ifdef SAMBA4_USES_HEIMDAL
ret = smb_krb5_context_set_event_ctx(smb_krb5_context, event_ctx, &previous_ev);
if (ret) {
talloc_free(mem_ctx);