diff options
author | Simo Sorce <idra@samba.org> | 2012-04-26 16:54:42 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2012-05-04 16:51:29 +0200 |
commit | 205b032061bffe68fd784ebdc33d485acd57a5b1 (patch) | |
tree | 8e9db9e3597ed1597eb4674706d21947d9bb2337 /source4 | |
parent | cf7d15e0758040c91c262749f7ceea3ca7d3fab8 (diff) | |
download | samba-205b032061bffe68fd784ebdc33d485acd57a5b1.tar.gz samba-205b032061bffe68fd784ebdc33d485acd57a5b1.tar.bz2 samba-205b032061bffe68fd784ebdc33d485acd57a5b1.zip |
Fix compiler warning
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/kerberos/kerberos_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c index e70782013e..17ae99c6cd 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); |