mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:32:57 +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:
parent
3e9c5864e7
commit
f4cafa72d4
1 changed files with 1 additions and 4 deletions
|
@ -212,10 +212,7 @@ ConDrvInitInputBuffer(IN PCONSOLE Console,
|
||||||
Status = NtCreateEvent(&Console->InputBuffer.ActiveEvent, EVENT_ALL_ACCESS,
|
Status = NtCreateEvent(&Console->InputBuffer.ActiveEvent, EVENT_ALL_ACCESS,
|
||||||
&ObjectAttributes, NotificationEvent, FALSE);
|
&ObjectAttributes, NotificationEvent, FALSE);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
return Status;
|
||||||
return STATUS_UNSUCCESSFUL;
|
|
||||||
// return Status;
|
|
||||||
}
|
|
||||||
|
|
||||||
Console->InputBuffer.InputBufferSize = InputBufferSize;
|
Console->InputBuffer.InputBufferSize = InputBufferSize;
|
||||||
InitializeListHead(&Console->InputBuffer.InputEvents);
|
InitializeListHead(&Console->InputBuffer.InputEvents);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue