VirtualBox

Changeset 31523 in vbox for trunk


Ignore:
Timestamp:
Aug 10, 2010 11:46:08 AM (14 years ago)
Author:
vboxsync
Message:

VMMDev: Drop unnecessary (), reorder the tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r31430 r31523  
    427427    /* Because VMMDevReq_ReportGuestInfo is sent last in the first information chain
    428428     * from the guest also check for VMMDevReq_ReportGuestInfo2. */
    429     if (    requestHeader.requestType != VMMDevReq_ReportGuestInfo2
    430         && (   requestHeader.requestType != VMMDevReq_ReportGuestInfo
    431             && !pThis->fu32AdditionsOk))
     429    if (   !pThis->fu32AdditionsOk
     430        && requestHeader.requestType != VMMDevReq_ReportGuestInfo2
     431        && requestHeader.requestType != VMMDevReq_ReportGuestInfo)
    432432    {
    433433        Log(("VMMDev: guest has not yet reported to us. Refusing operation.\n"));
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