[ros-diffs] [tkreuzer] 49783: [SERVICES] Fix a typo (|| instead of |). Found by clang.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Wed Nov 24 18:30:13 UTC 2010


Author: tkreuzer
Date: Wed Nov 24 18:30:12 2010
New Revision: 49783

URL: http://svn.reactos.org/svn/reactos?rev=49783&view=rev
Log:
[SERVICES]
Fix a typo (|| instead of |). Found by clang.

Modified:
    trunk/reactos/base/system/services/rpcserver.c

Modified: trunk/reactos/base/system/services/rpcserver.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcserver.c?rev=49783&r1=49782&r2=49783&view=diff
==============================================================================
--- trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/rpcserver.c [iso-8859-1] Wed Nov 24 18:30:12 2010
@@ -834,8 +834,8 @@
         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;
 




More information about the Ros-diffs mailing list