commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r770968 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c
Date Sat, 02 May 2009 15:58:11 GMT
Author: mturk
Date: Sat May  2 15:58:10 2009
New Revision: 770968

URL: http://svn.apache.org/viewvc?rev=770968&view=rev
Log:
Abstract common code to a separate function

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c?rev=770968&r1=770967&r2=770968&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/wusec.c Sat May  2 15:58:10 2009
@@ -187,8 +187,7 @@
     PSID sid =  ACR_HeapMalloc(ss);
 
     if (sid) {
-        if (!CreateWellKnownSid(WinWorldSid,
-                                NULL, sid, &ss)) {
+        if (!CreateWellKnownSid(type, NULL, sid, &ss)) {
             int ec = ACR_GET_OS_ERROR();
             ACR_HeapFree(sid);
             sid = NULL;



Mime
View raw message