VirtualBox

Changeset 94141 in vbox


Ignore:
Timestamp:
Mar 8, 2022 11:04:38 PM (3 years ago)
Author:
vboxsync
Message:

Main/HostImpl.cpp: nits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostImpl.cpp

    r93515 r94141  
    14531453        bool fSupported = VBoxOglIs3DAccelerationSupported();
    14541454#else
    1455         bool fSupported = false; /* shoudn't get here, but just in case. */
     1455        bool fSupported = false; /* shouldn't get here, but just in case. */
    14561456#endif
    14571457        AutoWriteLock alock2(this COMMA_LOCKVAL_SRC_POS);
     
    14931493        hrc = aHostInterface->COMGETTER(NetworkMask)(tmpMask.asOutParam());
    14941494        ComAssertComRCRet(hrc, hrc);
     1495
    14951496        /*
    14961497         * We need to write the default IP address and mask to extra data now,
     
    15001501         * postpone the change until VM actually starts.
    15011502         */
    1502         hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPAddress",
    1503                                                tmpName.raw()).raw(),
    1504                                                tmpAddr.raw());
     1503        hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPAddress", tmpName.raw()).raw(),
     1504                                       tmpAddr.raw());
    15051505        ComAssertComRCRet(hrc, hrc);
    15061506
    1507         hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPNetMask",
    1508                                                tmpName.raw()).raw(),
    1509                                                tmpMask.raw());
     1507        hrc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPNetMask", tmpName.raw()).raw(),
     1508                                       tmpMask.raw());
    15101509        ComAssertComRCRet(hrc, hrc);
    15111510# endif /* !defined(RT_OS_WINDOWS) */
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