Author: pschweitzer
Date: Wed Mar 18 14:41:34 2015
New Revision: 66783
URL:
http://svn.reactos.org/svn/reactos?rev=66783&view=rev
Log:
[RTL]
Revert r66782.
"[15:38:45] <Steffmeistro> RtlNtStatusToDosError already sets it"
Modified:
trunk/reactos/lib/rtl/error.c
Modified: trunk/reactos/lib/rtl/error.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/error.c?rev=66783&…
==============================================================================
--- trunk/reactos/lib/rtl/error.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/error.c [iso-8859-1] Wed Mar 18 14:41:34 2015
@@ -160,10 +160,7 @@
*/
void WINAPI RtlSetLastWin32ErrorAndNtStatusFromNtStatus( NTSTATUS status )
{
- PTEB Teb = NtCurrentTeb ();
-
- Teb->LastErrorValue = RtlNtStatusToDosError( status );
- Teb->LastStatusValue = status;
+ NtCurrentTeb()->LastErrorValue = RtlNtStatusToDosError( status );
}
/*