[BASESRV]

Fix the previous fix. It's not necessary to use a different status value from the one that was returned.


svn path=/branches/ntvdm/; revision=63100
This commit is contained in:
Aleksandar Andrejevic 2014-05-02 01:20:40 +00:00
parent 8be11a5989
commit 3a94de4a0e

View file

@ -902,11 +902,7 @@ CSR_API(BaseSrvGetNextVDMCommand)
} }
/* Make sure we found the console record */ /* Make sure we found the console record */
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status)) goto Cleanup;
{
Status = STATUS_INVALID_PARAMETER;
goto Cleanup;
}
/* Return the session ID */ /* Return the session ID */
GetNextVdmCommandRequest->iTask = ConsoleRecord->SessionId; GetNextVdmCommandRequest->iTask = ConsoleRecord->SessionId;