[SERVICES]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 24 Nov 2010 18:30:12 +0000 (18:30 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 24 Nov 2010 18:30:12 +0000 (18:30 +0000)
Fix a typo (|| instead of |). Found by clang.

svn path=/trunk/; revision=49783

reactos/base/system/services/rpcserver.c

index 30df18d..cc45ff5 100644 (file)
@@ -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;