VirtualBox

Changeset 33557 in vbox


Ignore:
Timestamp:
Oct 28, 2010 1:27:45 PM (14 years ago)
Author:
vboxsync
Message:

VRDE: More API changes for the VRDP server separation (warnings).

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SystemPropertiesImpl.cpp

    r33556 r33557  
    743743    HRESULT rc = mParent->VRDEIsLibraryRegistered(Bstr(m->strDefaultVRDELibrary).raw(), &fFound);
    744744
    745     if (!fFound)
     745    if (FAILED(rc)|| !fFound)
    746746        return setError(E_FAIL, "The library is not registered\n");
    747747
     
    765765    {
    766766        BOOL fFound = FALSE;
    767         HRESULT rc = mParent->VRDEIsLibraryRegistered(bstrLibrary.raw(), &fFound);
    768 
    769         if (!fFound)
     767        rc = mParent->VRDEIsLibraryRegistered(bstrLibrary.raw(), &fFound);
     768
     769        if (FAILED(rc) || !fFound)
    770770            return setError(E_FAIL, "The library is not registered\n");
    771771    }
  • trunk/src/VBox/Main/xml/Settings.cpp

    r33556 r33557  
    43714371         * then increase the version to VBox 4.0.
    43724372         */
    4373         int cOldProperties = 0;
     4373        unsigned cOldProperties = 0;
    43744374
    43754375        StringsMap::const_iterator it = hardwareMachine.vrdeSettings.mapProperties.find("TCP/Ports");
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