mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
[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^)
svn path=/trunk/; revision=65941
This commit is contained in:
@@ -212,10 +212,7 @@ ConDrvInitInputBuffer(IN PCONSOLE Console,
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user