Changeset 79965 in vbox for trunk/src/VBox/Main/src-server/MediumImpl.cpp
- Timestamp:
- Jul 24, 2019 8:32:32 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 132396
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r79961 r79965 7619 7619 if (isImport) 7620 7620 { 7621 VDTYPE const enmDesiredType = m->devType == DeviceType_Floppy ? VDTYPE_FLOPPY 7622 : m->devType == DeviceType_DVD ? VDTYPE_OPTICAL_DISC 7623 : m->devType == DeviceType_HardDisk ? VDTYPE_HDD : VDTYPE_INVALID; 7621 7624 VDTYPE enmType = VDTYPE_INVALID; 7622 7625 char *backendName = NULL; … … 7634 7637 { 7635 7638 vrc = VDGetFormat(NULL /* pVDIfsDisk */, NULL /* pVDIfsImage */, 7636 locationFull.c_str(), &backendName, &enmType);7639 locationFull.c_str(), enmDesiredType, &backendName, &enmType); 7637 7640 } 7638 7641 else if ( vrc != VERR_FILE_NOT_FOUND … … 7644 7647 locationFull = aLocation; 7645 7648 vrc = VDGetFormat(NULL /* pVDIfsDisk */, NULL /* pVDIfsImage */, 7646 locationFull.c_str(), &backendName, &enmType);7649 locationFull.c_str(), enmDesiredType, &backendName, &enmType); 7647 7650 } 7648 7651
Note:
See TracChangeset
for help on using the changeset viewer.