VirtualBox

Changeset 32031 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 27, 2010 9:48:35 AM (14 years ago)
Author:
vboxsync
Message:

nits

File:
1 edited

Legend:

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

    r31895 r32031  
    52315231    else
    52325232        progressDesc = tr("Starting virtual machine");
    5233     if (    mMachineState == MachineState_Saved 
     5233    if (    mMachineState == MachineState_Saved
    52345234        ||  (!fTeleporterEnabled && !fFaultToleranceSyncEnabled))
    52355235        rc = powerupProgress->init(static_cast<IConsole *>(this),
     
    67536753        strcat(szTapdev, str.c_str());
    67546754    else
    6755         memcpy(szTapdev + strlen(szTapdev), str.c_str(),
    6756 sizeof(szTapdev) -
    6757 strlen(szTapdev) - 1); /** @todo bitch about names which are too long... */
     6755        memcpy(szTapdev + strlen(szTapdev), str.c_str(),
     6756               sizeof(szTapdev) - strlen(szTapdev) - 1); /** @todo bitch about names which are too long... */
    67586757    int rcVBox = RTFileOpen(&maTapFD[slot], szTapdev,
    67596758                            RTFILE_O_READWRITE | RTFILE_O_OPEN | RTFILE_O_DENY_NONE | RTFILE_O_INHERIT | RTFILE_O_NON_BLOCK);
     
    74957494                            Utf8Str strPassword(bstrPassword);
    74967495                            const char *pszPassword = strPassword.isEmpty() ? NULL : strPassword.c_str();
    7497    
     7496
    74987497                            /* Power on the FT enabled VM. */
    74997498                            vrc = FTMR3PowerOn(pVM, (task->mEnmFaultToleranceState == FaultToleranceState_Master) /* fMaster */, uInterval, pszAddress, uPort, pszPassword);
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