ntdll: Don't change granted access mask on error.

This commit is contained in:
Vitaliy Margolen 2007-01-21 13:37:22 -07:00 committed by Alexandre Julliard
parent bc85a34f50
commit 11b54bfe87
1 changed files with 3 additions and 1 deletions

View File

@ -1527,8 +1527,10 @@ NtAccessCheck(
PrivilegeSet->PrivilegeCount = reply->privileges_len / sizeof(LUID_AND_ATTRIBUTES);
if (status == STATUS_SUCCESS)
{
*AccessStatus = reply->access_status;
*GrantedAccess = reply->access_granted;
*GrantedAccess = reply->access_granted;
}
}
SERVER_END_REQ;