VirtualBox

Ignore:
Timestamp:
Jun 4, 2009 4:24:07 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
48182
Message:

VBoxManage: fixed another regression of r46627

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

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

    r20220 r20294  
    15071507    ComPtr <IMachine> machine;
    15081508    Bstr uuid (a->argv[0]);
    1509     if (!uuid.isEmpty())
     1509    if (!Guid (a->argv[0]).isEmpty())
    15101510        CHECK_ERROR(a->virtualBox, GetMachine(uuid, machine.asOutParam()));
    15111511    else
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r20289 r20294  
    19931993    /* try to find the given machine */
    19941994    ComPtr <IMachine> machine;
    1995     Bstr uuid;
    1996     if (!Guid(VMNameOrUuid).isEmpty())
    1997     {
    1998         CHECK_ERROR (a->virtualBox, GetMachine (Bstr(VMNameOrUuid), machine.asOutParam()));
     1995    Bstr uuid (VMNameOrUuid);
     1996    if (!Guid (VMNameOrUuid).isEmpty())
     1997    {
     1998        CHECK_ERROR (a->virtualBox, GetMachine (uuid, machine.asOutParam()));
    19991999    }
    20002000    else
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