VirtualBox

Changeset 31120 in vbox


Ignore:
Timestamp:
Jul 26, 2010 4:27:56 PM (14 years ago)
Author:
vboxsync
Message:

vboxweb.cpp: nit, processEventQueue returns a VBox status code and should be checked using RT_FAILURE instead of FAILED. They should do the same job, so no functional change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r31113 r31120  
    776776        WEBDEBUG(("Pumping COM event queue\n"));
    777777        int vrc = pQ->processEventQueue(RT_INDEFINITE_WAIT);
    778         if (FAILED(vrc) && (vrc != VERR_TIMEOUT))
     778        if (RT_FAILURE(vrc) && vrc != VERR_TIMEOUT)
    779779            com::GluePrintRCMessage(vrc);
    780780    }
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