From 3a94de4a0e03510171771eb76bfda84ae70cff88 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Fri, 2 May 2014 01:20:40 +0000 Subject: [PATCH] [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 --- subsystems/win/basesrv/vdm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/subsystems/win/basesrv/vdm.c b/subsystems/win/basesrv/vdm.c index 409a8010773..a3c345f70bb 100644 --- a/subsystems/win/basesrv/vdm.c +++ b/subsystems/win/basesrv/vdm.c @@ -902,11 +902,7 @@ CSR_API(BaseSrvGetNextVDMCommand) } /* Make sure we found the console record */ - if (!NT_SUCCESS(Status)) - { - Status = STATUS_INVALID_PARAMETER; - goto Cleanup; - } + if (!NT_SUCCESS(Status)) goto Cleanup; /* Return the session ID */ GetNextVdmCommandRequest->iTask = ConsoleRecord->SessionId;