VirtualBox

Changeset 39642 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Dec 16, 2011 9:47:32 AM (13 years ago)
Author:
vboxsync
Message:

fix for r74907 (Main: Use shorter thread names)

File:
1 edited

Legend:

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

    r39336 r39642  
    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, "VBoxShared", 10))
    794794        RTStrPrintf (szThreadName, sizeof (szThreadName), "Sh%s", pszServiceName + 10);
    795     else if (strncmp (pszServiceName, "VBox", 4))
     795    else if (!strncmp (pszServiceName, "VBox", 4))
    796796        RTStrCopy (szThreadName, sizeof (szThreadName), pszServiceName + 4);
    797797    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