VirtualBox

Changeset 55168 in vbox


Ignore:
Timestamp:
Apr 9, 2015 5:36:51 PM (9 years ago)
Author:
vboxsync
Message:

Main/Machine: fix overlooked case sensitive frontend name check

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/MachineImpl.h

    r54791 r55168  
    147147
    148148            /** Session type string (for indirect sessions) */
    149             Bstr mType;
     149            Utf8Str mType;
    150150
    151151            /** Session machine object */
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r55167 r55168  
    73727372    if (fSeparate)
    73737373    {
    7374         if (mData->mSession.mState != SessionState_Unlocked && mData->mSession.mType != "headless")
     7374        if (mData->mSession.mState != SessionState_Unlocked && mData->mSession.mType.compare("headless", Utf8Str::CaseInsensitive))
    73757375            return setError(VBOX_E_INVALID_OBJECT_STATE,
    73767376                            tr("The machine '%s' is in a state which is incompatible with launching a separate UI process"),
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