VirtualBox

Changeset 87948 in vbox


Ignore:
Timestamp:
Mar 4, 2021 12:24:04 PM (4 years ago)
Author:
vboxsync
Message:

Main/NATNetwork: setNetworkName - fix typo/thinko: check if the
argument is empty, not the current value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp

    r87688 r87948  
    209209HRESULT NATNetwork::setNetworkName(const com::Utf8Str &aNetworkName)
    210210{
    211     if (m->s.strNetworkName.isEmpty())
     211    if (aNetworkName.isEmpty())
    212212        return setError(E_INVALIDARG,
    213213                        tr("Network name cannot be empty"));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette