Changeset 20294 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Jun 4, 2009 4:24:07 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48182
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r20220 r20294 1507 1507 ComPtr <IMachine> machine; 1508 1508 Bstr uuid (a->argv[0]); 1509 if (! uuid.isEmpty())1509 if (!Guid (a->argv[0]).isEmpty()) 1510 1510 CHECK_ERROR(a->virtualBox, GetMachine(uuid, machine.asOutParam())); 1511 1511 else -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r20289 r20294 1993 1993 /* try to find the given machine */ 1994 1994 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())); 1999 1999 } 2000 2000 else
Note:
See TracChangeset
for help on using the changeset viewer.