summaryrefslogtreecommitdiff
path: root/user/win32
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-06-10 19:44:02 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-06-10 19:44:02 +0000
commite98dc24ea40764719373e044a1ff26adcd037af0 (patch)
tree529bff8ab36dcb466db7ac169d5795255efb5c2e /user/win32
parent09858c6e3e537dfa0259c6b7805444e8bca432b0 (diff)
downloadlibapr-e98dc24ea40764719373e044a1ff26adcd037af0.tar.gz
I hate obscure order of operations.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61748 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'user/win32')
-rw-r--r--user/win32/userinfo.c2
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",