VirtualBox

Changeset 1704 in vbox


Ignore:
Timestamp:
Mar 26, 2007 12:53:38 PM (18 years ago)
Author:
vboxsync
Message:

Convert to use case-insensitive string compare from runtime.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r1698 r1704  
    330330        else if (VBOX_SUCCESS(rc))
    331331        {
    332             if (!strcasecmp(szProtocol, "TCP"))
     332            if (!RTStrICmp(szProtocol, "TCP"))
    333333                fUDP = false;
    334             else if (!strcasecmp(szProtocol, "UDP"))
     334            else if (!RTStrICmp(szProtocol, "UDP"))
    335335                fUDP = true;
    336336            else
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