From: Timo Kreuzer Date: Wed, 24 Nov 2010 18:30:12 +0000 (+0000) Subject: [SERVICES] X-Git-Tag: backups/ros-branch-0_3_13@51035~416 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=ec2d741f31864e9f90969828ad7a107f2ca0f3ad;hp=889287242f08c856a3df46302b6a9d77dd8d985b [SERVICES] Fix a typo (|| instead of |). Found by clang. svn path=/trunk/; revision=49783 --- diff --git a/reactos/base/system/services/rpcserver.c b/reactos/base/system/services/rpcserver.c index 30df18d071f..cc45ff5f1e4 100644 --- a/reactos/base/system/services/rpcserver.c +++ b/reactos/base/system/services/rpcserver.c @@ -834,8 +834,8 @@ DWORD RQueryServiceObjectSecurity( return ERROR_INVALID_HANDLE; } - if (dwSecurityInformation & (DACL_SECURITY_INFORMATION || - GROUP_SECURITY_INFORMATION || + if (dwSecurityInformation & (DACL_SECURITY_INFORMATION | + GROUP_SECURITY_INFORMATION | OWNER_SECURITY_INFORMATION)) DesiredAccess |= READ_CONTROL;