VirtualBox

Changeset 60037 in vbox for trunk/src


Ignore:
Timestamp:
Mar 15, 2016 12:51:23 PM (9 years ago)
Author:
vboxsync
Message:

RTReqWait: Correct incorrect assertion (VMR3ReqWait got it right). Thanks PVS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/req.cpp

    r57358 r60037  
    284284    AssertPtrReturn(pReq, VERR_INVALID_HANDLE);
    285285    AssertReturn(pReq->u32Magic == RTREQ_MAGIC, VERR_INVALID_HANDLE);
    286     AssertMsgReturn(   pReq->enmState != RTREQSTATE_QUEUED
    287                     || pReq->enmState != RTREQSTATE_PROCESSING
    288                     || pReq->enmState != RTREQSTATE_COMPLETED,
     286    AssertMsgReturn(   pReq->enmState == RTREQSTATE_QUEUED
     287                    || pReq->enmState == RTREQSTATE_PROCESSING
     288                    || pReq->enmState == RTREQSTATE_COMPLETED,
    289289                    ("Invalid state %d\n", pReq->enmState),
    290290                    VERR_RT_REQUEST_STATE);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette