Changeset 14323 in vbox
- Timestamp:
- Nov 18, 2008 6:50:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xpcom/server_module.cpp
r14320 r14323 140 140 strcpy (VBoxSVCPath, path.get()); 141 141 RTPathStripFilename (VBoxSVCPath); 142 /* Get rid of the trailing slash left by RTPathStripFilename(). */143 size_t cbPath = strlen(VBoxSVCPath);144 if (cbPath)145 {146 Assert(RTPATH_IS_SLASH(VBoxSVCPath[cbPath-1]));147 VBoxSVCPath[cbPath-1] = '\0';148 }149 142 strcat (VBoxSVCPath, VBoxSVC_exe); 150 143
Note:
See TracChangeset
for help on using the changeset viewer.