Author: aandrejevic
Date: Thu Apr 23 02:53:08 2015
New Revision: 67364
URL:
http://svn.reactos.org/svn/reactos?rev=67364&view=rev
Log:
[BASESRV]
In BaseSrvGetNextVDMCommand, the VDM_FLAG_DONT_WAIT flag is enough to tell it not
to create a wait handle.
Modified:
trunk/reactos/subsystems/win/basesrv/vdm.c
Modified: trunk/reactos/subsystems/win/basesrv/vdm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win/basesrv/vdm…
==============================================================================
--- trunk/reactos/subsystems/win/basesrv/vdm.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win/basesrv/vdm.c [iso-8859-1] Thu Apr 23 02:53:08 2015
@@ -1068,8 +1068,7 @@
}
/* 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)
{