apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/user/win32 userinfo.c
Date Sun, 10 Jun 2001 19:44:02 GMT
wrowe       01/06/10 12:44:02

  Modified:    user/win32 userinfo.c
  Log:
    I hate obscure order of operations.
  
  Revision  Changes    Path
  1.11      +1 -1      apr/user/win32/userinfo.c
  
  Index: userinfo.c
  ===================================================================
  RCS file: /home/cvs/apr/user/win32/userinfo.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- userinfo.c	2001/06/10 19:34:27	1.10
  +++ userinfo.c	2001/06/10 19:44:02	1.11
  @@ -79,7 +79,7 @@
        */
       psia = GetSidIdentifierAuthority(id);
       nsa =  (DWORD)(psia->Value[5])        + ((DWORD)(psia->Value[4]) <<  8)
  -        + ((DWORD)(psia->Value[3])) << 16 + ((DWORD)(psia->Value[2]) <<
24);
  +        + ((DWORD)(psia->Value[3]) << 16) + ((DWORD)(psia->Value[2]) <<
24);
       sa  =  (DWORD)(psia->Value[1])        + ((DWORD)(psia->Value[0]) <<  8);
       if (sa) {
           slen = apr_snprintf(buf, blen, "S-%lu-0x%04x%08x",
  
  
  

Mime
View raw message