diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-06-10 19:44:02 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-06-10 19:44:02 +0000 |
commit | 5b8bca13c591b125af6104c98613f3b72dd74fa4 (patch) | |
tree | 529bff8ab36dcb466db7ac169d5795255efb5c2e /user | |
parent | 9ab0a7085a142c85a4e091325b669a2e21f3a811 (diff) | |
download | apr-5b8bca13c591b125af6104c98613f3b72dd74fa4.tar.gz |
I hate obscure order of operations.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61748 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'user')
-rw-r--r-- | user/win32/userinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/win32/userinfo.c b/user/win32/userinfo.c index 1fe632fae..38dcf7fe3 100644 --- a/user/win32/userinfo.c +++ b/user/win32/userinfo.c @@ -79,7 +79,7 @@ void get_sid_string(char *buf, int blen, apr_uid_t id) */ 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", |