Changeset 6137 in vbox
- Timestamp:
- Dec 18, 2007 5:10:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
r6136 r6137 273 273 if (cch > sizeof("enable-") && !memcmp(psz, "enable-", sizeof("enable-") - 1)) 274 274 for (unsigned j = 0; !fFound && j < RT_ELEMENTS(g_aServices); j++) 275 #if defined(RT_OS_OS2) 276 if ((fFound = !stricmp(psz + sizeof("enable-") - 1, g_aServices[j].pDesc->pszName))) 277 #else 278 if ((fFound = !strcasecmp(psz + sizeof("enable-") - 1, g_aServices[j].pDesc->pszName))) 279 #endif 275 if ((fFound = !RTStrICmp(psz + sizeof("enable-") - 1, g_aServices[j].pDesc->pszName))) 280 276 g_aServices[j].fEnabled = true; 281 277 282 278 if (cch > sizeof("disable-") && !memcmp(psz, "disable-", sizeof("disable-") - 1)) 283 279 for (unsigned j = 0; !fFound && j < RT_ELEMENTS(g_aServices); j++) 284 #if defined(RT_OS_OS2) 285 if ((fFound = !stricmp(psz + sizeof("disable-") - 1, g_aServices[j].pDesc->pszName))) 286 #else 287 if ((fFound = !strcasecmp(psz + sizeof("disable-") - 1, g_aServices[j].pDesc->pszName))) 288 #endif 280 if ((fFound = !RTStrICmp(psz + sizeof("disable-") - 1, g_aServices[j].pDesc->pszName))) 289 281 g_aServices[j].fEnabled = false; 290 282
Note:
See TracChangeset
for help on using the changeset viewer.