Fix test for pending message in QUEUE_ReceiveMessage().
This commit is contained in:
parent
2239abb9f9
commit
077e66c27c
|
@ -918,7 +918,7 @@ void QUEUE_ReceiveMessage( MESSAGEQUEUE *queue )
|
||||||
|
|
||||||
TRACE_(sendmsg)("queue %04x\n", queue->self );
|
TRACE_(sendmsg)("queue %04x\n", queue->self );
|
||||||
|
|
||||||
if ( !(queue->wakeBits & QS_SENDMESSAGE) && queue->smPending )
|
if ( !((queue->wakeBits & QS_SENDMESSAGE) && queue->smPending) )
|
||||||
{
|
{
|
||||||
TRACE_(sendmsg)("\trcm: nothing to do\n");
|
TRACE_(sendmsg)("\trcm: nothing to do\n");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue