Author: pschweitzer
Date: Sun May 5 20:19:23 2013
New Revision: 58955
URL:
http://svn.reactos.org/svn/reactos?rev=58955&view=rev
Log:
[RTL]
Properly define the loop for privileges adjustement.
Spotted & fixed by Thomas.
Modified:
trunk/reactos/lib/rtl/priv.c
Modified: trunk/reactos/lib/rtl/priv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/priv.c?rev=58955&a…
==============================================================================
--- trunk/reactos/lib/rtl/priv.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/priv.c [iso-8859-1] Sun May 5 20:19:23 2013
@@ -314,8 +314,9 @@
else
{
*ReturnedState = State;
- }
- } while (FALSE);
+ break;
+ }
+ } while (TRUE);
DPRINT("RtlAcquirePrivilege succeed!\n");