VirtualBox

Changeset 71010 in vbox for trunk/include


Ignore:
Timestamp:
Feb 14, 2018 4:10:14 PM (7 years ago)
Author:
vboxsync
Message:

HostServices/GuestPropertySvc.h: Use RTStrNICmpAscii() instead of RTStrNICmp() in GuestPropValidateFlags() to unbreak VBoxGuest.ko. The rigth hand side of the comparison is ASCII flag constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestPropertySvc.h

    r70222 r71010  
    134134                size_t      cchFlagName;
    135135                const char *pszFlagName = GuestPropFlagNameAndLen(s_aFlagList[i], &cchFlagName);
    136                 if (RTStrNICmp(pcszNext, pszFlagName, cchFlagName) == 0)
     136                if (RTStrNICmpAscii(pcszNext, pszFlagName, cchFlagName) == 0)
    137137                {
    138138                    char ch;
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