Vitaliy Margolen : server: Fix typo. Should be group not owner.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 8 06:20:21 CST 2007


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

Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date:   Wed Feb  7 21:11:18 2007 -0700

server: Fix typo. Should be group not owner.

---

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

diff --git a/server/token.c b/server/token.c
index 04d3808..2c00daa 100644
--- a/server/token.c
+++ b/server/token.c
@@ -316,7 +316,7 @@ static int sd_is_valid( const struct sec
     if (group)
     {
         size_t needed_size = FIELD_OFFSET(SID, SubAuthority[group->SubAuthorityCount]);
-        if ((sd->owner_len < sizeof(SID)) || (needed_size > sd->owner_len))
+        if ((sd->group_len < sizeof(SID)) || (needed_size > sd->group_len))
             return FALSE;
     }
     offset += sd->group_len;




More information about the wine-cvs mailing list