[BASESRV]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 5 Mar 2014 20:01:57 +0000 (20:01 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 5 Mar 2014 20:01:57 +0000 (20:01 +0000)
BaseSrvCopyCommand should return TRUE if it was successful.

svn path=/branches/ntvdm/; revision=62435

subsystems/win/basesrv/vdm.c

index c47f885..2934f8f 100644 (file)
@@ -340,6 +340,9 @@ BOOLEAN NTAPI BaseSrvCopyCommand(PBASE_CHECK_VDM CheckVdmRequest, PVDM_DOS_RECOR
     /* Set the DOS record's command structure */
     DosRecord->CommandInfo = CommandInfo;
 
+    /* The operation was successful */
+    Success = TRUE;
+
 Cleanup:
     /* If it wasn't successful, free the memory */
     if (!Success) BaseSrvFreeVDMInfo(CommandInfo);