mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:kdc: fix compiler warning
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 2 06:06:15 CEST 2011 on sn-devel-104
This commit is contained in:
parent
6d1ef3faee
commit
ac8096e69d
@ -1175,7 +1175,7 @@ static krb5_error_code samba_kdc_fetch_krbtgt(krb5_context context,
|
||||
* in a TGS REP even if the client did not specify
|
||||
* the canonicalize flag.
|
||||
*/
|
||||
if (flags & HDB_F_CANON|HDB_F_FOR_TGS_REQ) {
|
||||
if (flags & (HDB_F_CANON|HDB_F_FOR_TGS_REQ)) {
|
||||
ret = krb5_copy_principal(context, principal, &alloc_principal);
|
||||
if (ret) {
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user