VirtualBox

Ignore:
Timestamp:
Jul 8, 2009 10:34:06 AM (15 years ago)
Author:
vboxsync
Message:

DHCP server: fix bad ifdef block, optimize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/DHCPServerRunner.h

    r18208 r21387  
    6464
    6565#ifdef RT_OS_WINDOWS
    66         if(val && strlen(val))
     66        if (val && *val)
    6767        {
    6868            mOptions[opt] = "\"";
     
    7070            mOptions[opt].append("\"");
    7171        }
     72        else
    7273#endif
    73         else
    7474        {
    7575            mOptions[opt] = val;
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