- Timestamp:
- Aug 20, 2012 2:11:05 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r42861 r42875 4678 4678 { 4679 4679 CheckComArgOutPointerValid(adapter); 4680 /* Do not assert i n debug builds here in case someone iterates over the4681 * slots and relies on the E_INVALIDARG error. */4680 /* Do not assert if slot is out of range, just return the advertised 4681 status. testdriver/vbox.py triggers this in logVmInfo. */ 4682 4682 if (slot >= mNetworkAdapters.size()) 4683 4683 return setError(E_INVALIDARG, 4684 tr("No network adapter in slot %RU32 found(total %RU32 adapters)"),4684 tr("No network adapter in slot %RU32 (total %RU32 adapters)"), 4685 4685 slot, mNetworkAdapters.size()); 4686 4686
Note:
See TracChangeset
for help on using the changeset viewer.