Changeset 35921 in vbox for trunk/src/VBox
- Timestamp:
- Feb 9, 2011 7:57:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r35872 r35921 3710 3710 /* The name is on the form 'ifX: long name', chop it off at the colon. */ 3711 3711 char szTrunk[8]; 3712 strncpy(szTrunk, pszHifName, sizeof(szTrunk));3712 RTStrCopy(szTrunk, sizeof(szTrunk), pszHifName); 3713 3713 char *pszColon = (char *)memchr(szTrunk, ':', sizeof(szTrunk)); 3714 3714 if (!pszColon)
Note:
See TracChangeset
for help on using the changeset viewer.