Changeset 22163 in vbox for trunk/src/VBox/Main
- Timestamp:
- Aug 11, 2009 12:09:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r22162 r22163 227 227 */ 228 228 hrc = pMachine->COMGETTER(Name)(&str); H(); 229 STR_CONV(); 230 rc = CFGMR3InsertString(pRoot, "Name", psz); RC_CHECK(); 231 STR_FREE(); 229 rc = CFGMR3InsertStringW(pRoot, "Name", str); RC_CHECK(); 232 230 rc = CFGMR3InsertBytes(pRoot, "UUID", pUuid, sizeof(*pUuid)); RC_CHECK(); 233 231 rc = CFGMR3InsertInteger(pRoot, "RamSize", cbRam); RC_CHECK(); … … 818 816 if (!str || !*str) 819 817 break; 820 STR_CONV(); 821 rc = CFGMR3InsertString(pCfg, szExtraDataKey, psz); 822 STR_FREE(); 818 rc = CFGMR3InsertStringW(pCfg, szExtraDataKey, str); 823 819 cModes++; 824 820 } … … 2502 2498 } 2503 2499 CloseHandle(hDevice); 2504 2500 2505 2501 if (fSharedMacOnWire) 2506 2502 { … … 2772 2768 hrc = virtualBox->GetExtraData(BstrFmt("HostOnly/%s/IPV6NetMask", pszHifName), tmpMask.asOutParam()); 2773 2769 if (SUCCEEDED(hrc) && !tmpAddr.isEmpty() && !tmpMask.isEmpty()) 2774 { 2770 { 2775 2771 hrc = hostInterface->EnableStaticIpConfigV6(tmpAddr, Utf8Str(tmpMask).toUInt32()); 2776 2772 ComAssertComRC(hrc); /** @todo r=bird: Why this isn't fatal? (H()) */
Note:
See TracChangeset
for help on using the changeset viewer.