VirtualBox

Changeset 77508 in vbox


Ignore:
Timestamp:
Feb 28, 2019 5:07:06 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
129107
Message:

Guest Control/Main: c_str() not needed here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp

    r77500 r77508  
    15661566            && pList->mSourceSpec.fDryRun == false)
    15671567        {
    1568             rc = directoryCreateOnHost(pList->mDstRootAbs.c_str(), fDirMode, fDirCreate, fCopyIntoExisting);
     1568            rc = directoryCreateOnHost(pList->mDstRootAbs, fDirMode, fDirCreate, fCopyIntoExisting);
    15691569            if (RT_FAILURE(rc))
    15701570                break;
     
    15951595                    LogFlowFunc(("Directory '%s': %s -> %s\n", pEntry->strPath.c_str(), strSrcAbs.c_str(), strDstAbs.c_str()));
    15961596                    if (!pList->mSourceSpec.fDryRun)
    1597                         rc = directoryCreateOnHost(strDstAbs.c_str(), fDirMode, fDirCreate, fCopyIntoExisting);
     1597                        rc = directoryCreateOnHost(strDstAbs, fDirMode, fDirCreate, fCopyIntoExisting);
    15981598                    break;
    15991599
     
    18061806            if (pList->mSourceSpec.fDryRun == false)
    18071807            {
    1808                 rc = directoryCreateOnGuest(pList->mDstRootAbs.c_str(), DirectoryCreateFlag_None, fDirMode,
     1808                rc = directoryCreateOnGuest(pList->mDstRootAbs, DirectoryCreateFlag_None, fDirMode,
    18091809                                            fFollowSymlinks, fCopyIntoExisting);
    18101810                if (RT_FAILURE(rc))
     
    18421842                    if (!pList->mSourceSpec.fDryRun)
    18431843                    {
    1844                         rc = directoryCreateOnGuest(strDstAbs.c_str(), DirectoryCreateFlag_None, fDirMode,
     1844                        rc = directoryCreateOnGuest(strDstAbs, DirectoryCreateFlag_None, fDirMode,
    18451845                                                    fFollowSymlinks, fCopyIntoExisting);
    18461846                        if (RT_FAILURE(rc))
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