VirtualBox

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


Ignore:
Timestamp:
Oct 22, 2010 9:56:50 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66916
Message:

Main/Medium: fix vrc/rc mixup which resulted in ignoring errors opening the source file in the importFrom operation

File:
1 edited

Legend:

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

    r33322 r33335  
    72877287        {
    72887288            /* Open source medium. */
    7289             rc = VDOpen(hdd,
    7290                         task.mFormat->getId().c_str(),
    7291                         task.mFilename.c_str(),
    7292                         VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_SEQUENTIAL,
    7293                         task.mVDImageIfaces);
     7289            vrc = VDOpen(hdd,
     7290                         task.mFormat->getId().c_str(),
     7291                         task.mFilename.c_str(),
     7292                         VD_OPEN_FLAGS_READONLY | VD_OPEN_FLAGS_SEQUENTIAL,
     7293                         task.mVDImageIfaces);
    72947294            if (RT_FAILURE(vrc))
    72957295                throw setError(VBOX_E_FILE_ERROR,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette