Changeset 83170 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Feb 27, 2020 10:10:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r83169 r83170 7365 7365 HRESULT hrc = E_FAIL; 7366 7366 Bstr name; 7367 ULONG iSlot = ULONG_MAX;7367 int iSlot = -1; 7368 7368 7369 7369 LogFlowThisFunc(("Checking if cloud network needs to be connected\n")); 7370 for ( ULONGslot = 0; slot < mNetworkAdapters.size(); ++slot)7370 for (int slot = 0; slot < mNetworkAdapters.size(); ++slot) 7371 7371 { 7372 7372 BOOL enabled; … … 7424 7424 { 7425 7425 LogRel(("OCI-NET: Failed to obtain valid MAC address (%s) from cloud gateway '%ls'.\n", 7426 strMacAddress , name.raw()));7426 strMacAddress.c_str(), name.raw())); 7427 7427 return hrc; 7428 7428 } … … 7434 7434 if (SUCCEEDED(hrc)) 7435 7435 { 7436 if (iSlot == ULONG_MAX)7436 if (iSlot == -1) 7437 7437 LogRel(("OCI-NET: No slot information available for cloud network attachment!\n")); 7438 7438 else
Note:
See TracChangeset
for help on using the changeset viewer.