Author: ekohl
Date: Sun Apr 29 21:39:32 2012
New Revision: 56451
URL:
http://svn.reactos.org/svn/reactos?rev=56451&view=rev
Log:
[ADVAPI32]
Formatting, no code changes.
Modified:
trunk/reactos/dll/win32/advapi32/sec/sec.c
Modified: trunk/reactos/dll/win32/advapi32/sec/sec.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/sec/sec…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/sec/sec.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/sec/sec.c [iso-8859-1] Sun Apr 29 21:39:32 2012
@@ -226,26 +226,26 @@
PSID pPrimaryGroup,
LPDWORD lpdwPrimaryGroupSize)
{
- NTSTATUS Status;
-
- Status = RtlSelfRelativeToAbsoluteSD (pSelfRelativeSecurityDescriptor,
- pAbsoluteSecurityDescriptor,
- lpdwAbsoluteSecurityDescriptorSize,
- pDacl,
- lpdwDaclSize,
- pSacl,
- lpdwSaclSize,
- pOwner,
- lpdwOwnerSize,
- pPrimaryGroup,
- lpdwPrimaryGroupSize);
- if (!NT_SUCCESS(Status))
- {
- SetLastError (RtlNtStatusToDosError (Status));
- return FALSE;
- }
-
- return TRUE;
+ NTSTATUS Status;
+
+ Status = RtlSelfRelativeToAbsoluteSD(pSelfRelativeSecurityDescriptor,
+ pAbsoluteSecurityDescriptor,
+ lpdwAbsoluteSecurityDescriptorSize,
+ pDacl,
+ lpdwDaclSize,
+ pSacl,
+ lpdwSaclSize,
+ pOwner,
+ lpdwOwnerSize,
+ pPrimaryGroup,
+ lpdwPrimaryGroupSize);
+ if (!NT_SUCCESS(Status))
+ {
+ SetLastError(RtlNtStatusToDosError(Status));
+ return FALSE;
+ }
+
+ return TRUE;
}