fixed typo in a comment

svn path=/trunk/; revision=16922
This commit is contained in:
Thomas Bluemel 2005-07-31 20:35:08 +00:00
parent 197982e303
commit 918a8eeeb5

View file

@ -1868,7 +1868,7 @@ TreeResetNamedSecurityInfoW(LPWSTR pObjectName,
case SE_REGISTRY_KEY: case SE_REGISTRY_KEY:
{ {
/* check the SecurityInfo flags for sanity (both, the protected /* check the SecurityInfo flags for sanity (both, the protected
and unprotected dacl/sacl flag must not be passed together */ and unprotected dacl/sacl flag must not be passed together) */
if (((SecurityInfo & DACL_SECURITY_INFORMATION) && if (((SecurityInfo & DACL_SECURITY_INFORMATION) &&
(SecurityInfo & (PROTECTED_DACL_SECURITY_INFORMATION | UNPROTECTED_DACL_SECURITY_INFORMATION)) == (SecurityInfo & (PROTECTED_DACL_SECURITY_INFORMATION | UNPROTECTED_DACL_SECURITY_INFORMATION)) ==
(PROTECTED_DACL_SECURITY_INFORMATION | UNPROTECTED_DACL_SECURITY_INFORMATION)) (PROTECTED_DACL_SECURITY_INFORMATION | UNPROTECTED_DACL_SECURITY_INFORMATION))