[BASESRV]
[reactos.git] / reactos / subsystems / win / basesrv / vdm.c
index e1df0c0..44e63d6 100644 (file)
@@ -1068,8 +1068,7 @@ CSR_API(BaseSrvGetNextVDMCommand)
     }
 
     /* There is no command yet */
-    if ((GetNextVdmCommandRequest->VDMState & (VDM_FLAG_DONT_WAIT | VDM_FLAG_RETRY))
-        != (VDM_FLAG_DONT_WAIT | VDM_FLAG_RETRY))
+    if (!(GetNextVdmCommandRequest->VDMState & VDM_FLAG_DONT_WAIT))
     {
         if (ConsoleRecord->ServerEvent)
         {