Author: hbelusca
Date: Fri Jan  2 20:32:44 2015
New Revision: 65941

URL: http://svn.reactos.org/svn/reactos?rev=65941&view=rev
Log:
[CONSRV]: We can return the real NTSTATUS code instead of a 
STATUS_UNSUCCESSFUL. Noticed by Thomas some time ago. I kept the 
STATUS_UNSUCCESSFUL first because I didn't want to change the returned status 
code as it was before the changes of r65449. But I changed my mind since then! 
d8^)

Modified:
    trunk/reactos/win32ss/user/winsrv/consrv/condrv/coninput.c

Modified: trunk/reactos/win32ss/user/winsrv/consrv/condrv/coninput.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv/condrv/coninput.c?rev=65941&r1=65940&r2=65941&view=diff
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/condrv/coninput.c  [iso-8859-1] 
(original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/condrv/coninput.c  [iso-8859-1] 
Fri Jan  2 20:32:44 2015
@@ -212,10 +212,7 @@
     Status = NtCreateEvent(&Console->InputBuffer.ActiveEvent, EVENT_ALL_ACCESS,
                            &ObjectAttributes, NotificationEvent, FALSE);
     if (!NT_SUCCESS(Status))
-    {
-        return STATUS_UNSUCCESSFUL;
-        // return Status;
-    }
+        return Status;
 
     Console->InputBuffer.InputBufferSize = InputBufferSize;
     InitializeListHead(&Console->InputBuffer.InputEvents);


Reply via email to