Nikolay Sivov : include: Fix definition name.

Alexandre Julliard julliard at winehq.org
Wed Aug 3 12:48:10 CDT 2011


Module: wine
Branch: master
Commit: 7381858e9860b8de8ba3d33ef30c64b3eb5d9c61
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7381858e9860b8de8ba3d33ef30c64b3eb5d9c61

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Aug  3 13:11:20 2011 +0400

include: Fix definition name.

---

 include/winnt.h |    2 +-
 server/token.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/winnt.h b/include/winnt.h
index 0be6040..5c58656 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -4041,7 +4041,7 @@ typedef struct _ACL_SIZE_INFORMATION
 
 #define SE_PRIVILEGE_ENABLED_BY_DEFAULT 0x00000001
 #define SE_PRIVILEGE_ENABLED 		0x00000002
-#define SE_PRIVILEGE_REMOVE		0x00000004
+#define SE_PRIVILEGE_REMOVED		0x00000004
 #define SE_PRIVILEGE_USED_FOR_ACCESS 	0x80000000
 
 #define PRIVILEGE_SET_ALL_NECESSARY     1
diff --git a/server/token.c b/server/token.c
index e8e85fc..ab07a81 100644
--- a/server/token.c
+++ b/server/token.c
@@ -724,7 +724,7 @@ static unsigned int token_adjust_privileges( struct token *token, const LUID_AND
             continue;
         }
 
-        if (privs[i].Attributes & SE_PRIVILEGE_REMOVE)
+        if (privs[i].Attributes & SE_PRIVILEGE_REMOVED)
             privilege_remove( privilege );
         else
         {




More information about the wine-cvs mailing list