VirtualBox

Ignore:
Timestamp:
Jul 8, 2009 1:06:27 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49764
Message:

Backing out r49763 to fix Windows burns.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/DHCPServerRunner.cpp

    r21393 r21394  
    9797    for (unsigned i = 0; i < DHCPCFG_NOTOPT_MAXVAL; i++)
    9898    {
    99         if (mOptions[i].length())
     99        if (!mOptions[i].isNull())
    100100        {
    101101            const ARGDEF * pArgDef = getArgDef((DHCPCFG)i);
    102             args[index++] = pArgDef->Name;      // e.g. "--network"
    103             args[index++] = mOptions[i].raw();  // value
     102            args[index++] = pArgDef->Name;
     103            if (!mOptions[i].isEmpty())
     104            {
     105                args[index++] = mOptions[i].raw();
     106            }
    104107        }
    105108    }
Note: See TracChangeset for help on using the changeset viewer.

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