Changeset 83794 in vbox for trunk/src/VBox/Main/src-server/HostNetworkInterfaceImpl.cpp
- Timestamp:
- Apr 18, 2020 1:25:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostNetworkInterfaceImpl.cpp
r82968 r83794 161 161 { 162 162 AssertReturn(mVirtualBox != NULL, E_POINTER); 163 return mVirtualBox->SetExtraData(BstrFmt("HostOnly/{%RTuuid}/%s", mGuid , szParamName).raw(), Bstr(strValue).raw());163 return mVirtualBox->SetExtraData(BstrFmt("HostOnly/{%RTuuid}/%s", mGuid.raw(), szParamName).raw(), Bstr(strValue).raw()); 164 164 } 165 165 … … 167 167 { 168 168 AssertReturn(mVirtualBox != NULL, E_POINTER); 169 return mVirtualBox->SetExtraData(BstrFmt("HostOnly/{%RTuuid}/%s", mGuid , szParamName).raw(), NULL);169 return mVirtualBox->SetExtraData(BstrFmt("HostOnly/{%RTuuid}/%s", mGuid.raw(), szParamName).raw(), NULL); 170 170 } 171 171 … … 204 204 return false; /* Trigger config update, which will fail with proper return code */ 205 205 Bstr tmpName; 206 mVirtualBox->GetExtraData(BstrFmt("HostOnly/{%RTuuid}/Name", mGuid ).raw(), tmpName.asOutParam());206 mVirtualBox->GetExtraData(BstrFmt("HostOnly/{%RTuuid}/Name", mGuid.raw()).raw(), tmpName.asOutParam()); 207 207 return (tmpName.isNotEmpty() && tmpName == mInterfaceName); 208 208
Note:
See TracChangeset
for help on using the changeset viewer.