VirtualBox

Changeset 9566 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 10, 2008 12:06:53 PM (17 years ago)
Author:
vboxsync
Message:

Fix condition once more.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp

    r9565 r9566  
    11141114        {
    11151115            if (    pDisk->cImages == 0
    1116                 &&  (   enmImageType != VD_IMAGE_TYPE_FIXED
    1117                      || enmImageType != VD_IMAGE_TYPE_NORMAL))
     1116                &&  enmImageType != VD_IMAGE_TYPE_FIXED
     1117                &&  enmImageType != VD_IMAGE_TYPE_NORMAL)
    11181118            {
    11191119                rc = VERR_VDI_INVALID_TYPE;
     
    11231123            {
    11241124                if (    enmImageType != VD_IMAGE_TYPE_NORMAL
    1125                     ||  enmImageType != VD_IMAGE_TYPE_DIFF)
     1125                    &&  enmImageType != VD_IMAGE_TYPE_DIFF)
    11261126                {
    11271127                    rc = VERR_VDI_INVALID_TYPE;
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