- Timestamp:
- Oct 2, 2014 1:44:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r52861 r52933 8425 8425 DECODE_STR_MAX); 8426 8426 com::SafeArray<BYTE> iconByte(cbOut); 8427 HRESULTrc = RTBase64Decode(pszStr, iconByte.raw(), cbOut, NULL, NULL);8428 if ( FAILED(rc))8427 int vrc = RTBase64Decode(pszStr, iconByte.raw(), cbOut, NULL, NULL); 8428 if (RT_FAILURE(vrc)) 8429 8429 return setError(E_FAIL, 8430 tr("Failure to Decode Icon Data. '%s' (% d)"),8430 tr("Failure to Decode Icon Data. '%s' (%Rrc)"), 8431 8431 pszStr, 8432 rc);8432 vrc); 8433 8433 mUserData->mIcon.resize(iconByte.size()); 8434 8434 memcpy(&mUserData->mIcon[0], iconByte.raw(), mUserData->mIcon.size()); … … 8436 8436 // look up the object by Id to check it is valid 8437 8437 ComPtr<IGuestOSType> guestOSType; 8438 rc = mParent->GetGuestOSType(Bstr(mUserData->s.strOsType).raw(),8438 HRESULT rc = mParent->GetGuestOSType(Bstr(mUserData->s.strOsType).raw(), 8439 8439 guestOSType.asOutParam()); 8440 8440 if (FAILED(rc)) return rc; … … 8446 8446 { 8447 8447 Utf8Str stateFilePathFull(config.strStateFile); 8448 intvrc = i_calculateFullPath(stateFilePathFull, stateFilePathFull);8448 vrc = i_calculateFullPath(stateFilePathFull, stateFilePathFull); 8449 8449 if (RT_FAILURE(vrc)) 8450 8450 return setError(E_FAIL,
Note:
See TracChangeset
for help on using the changeset viewer.