VirtualBox

Changeset 33425 in vbox for trunk/src


Ignore:
Timestamp:
Oct 25, 2010 2:30:43 PM (14 years ago)
Author:
vboxsync
Message:

VBoxManage: fix snapshot messup caused by API changes from last week

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageSnapshot.cpp

    r33300 r33425  
    358358            {
    359359                CHECK_ERROR_BREAK(pMachine, COMGETTER(CurrentSnapshot)(pSnapshot.asOutParam()));
    360                 CHECK_ERROR_BREAK(pSnapshot, COMGETTER(Id)(bstrSnapGuid.asOutParam()));
    361360            }
    362361            else
     
    365364                CHECK_ERROR_BREAK(pMachine, FindSnapshot(Bstr(a->argv[2]).raw(),
    366365                                                         pSnapshot.asOutParam()));
    367                 Bstr bstrSnapGuid;
    368                 CHECK_ERROR_BREAK(pSnapshot, COMGETTER(Id)(bstrSnapGuid.asOutParam()));
    369             }
     366            }
     367
     368            CHECK_ERROR_BREAK(pSnapshot, COMGETTER(Id)(bstrSnapGuid.asOutParam()));
    370369
    371370            if (fDelete)
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