VirtualBox

Changeset 48012 in vbox


Ignore:
Timestamp:
Aug 23, 2013 8:39:37 AM (11 years ago)
Author:
vboxsync
Message:

RT_STR_TUPLE

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/HGCM.cpp

    r47117 r48012  
    791791    /* The maximum length of the thread name, allowed by the RT is 15. */
    792792    char szThreadName[16];
    793     if (!strncmp (pszServiceName, "VBoxShared", 10))
     793    if (!strncmp (pszServiceName, RT_STR_TUPLE("VBoxShared")))
    794794        RTStrPrintf (szThreadName, sizeof (szThreadName), "Sh%s", pszServiceName + 10);
    795     else if (!strncmp (pszServiceName, "VBox", 4))
     795    else if (!strncmp (pszServiceName, RT_STR_TUPLE("VBox")))
    796796        RTStrCopy (szThreadName, sizeof (szThreadName), pszServiceName + 4);
    797797    else
  • trunk/src/VBox/Main/src-server/Matching.cpp

    r37662 r48012  
    3737    that->mErrorPosition = 0;
    3838
    39     if (!aFilter || strncmp (aFilter, "int:", 4) != 0)
     39    if (!aFilter || strncmp(aFilter, RT_STR_TUPLE("int:")) != 0)
    4040        return;
    4141
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