winpr-comm: fixed _set_wait_mask() on previous commit

This commit is contained in:
Emmanuel Ledoux 2014-05-27 16:27:04 +02:00 committed by Emmanuel Ledoux
parent 1aeca8fbc7
commit ae3dd68b88

View File

@ -1016,7 +1016,7 @@ static BOOL _set_wait_mask(WINPR_COMM *pComm, const ULONG *pWaitMask)
/* NB: ensure to leave the critical section before to return */ /* NB: ensure to leave the critical section before to return */
EnterCriticalSection(&pComm->EventsLock); EnterCriticalSection(&pComm->EventsLock);
if (pComm->PendingEvents |= SERIAL_EV_FREERDP_CLOSING) if (pComm->PendingEvents & SERIAL_EV_FREERDP_CLOSING)
{ {
return TRUE; /* returns without complaining */ return TRUE; /* returns without complaining */
} }