Changeset 82842 in vbox for trunk/src/VBox/Runtime/tools
- Timestamp:
- Jan 23, 2020 10:16:23 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 135812
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/tools/RTFTPServer.cpp
r82841 r82842 212 212 Assert(pData->cbUser == sizeof(FTPSERVERDATA)); 213 213 214 return RTFileOpen(&pThis->hFile, pcszPath, fMode); 214 char *pszPathAbs = NULL; 215 if (RTStrAPrintf(&pszPathAbs, "%s/%s", pThis->szPathRootAbs, pcszPath) <= 0) 216 return VERR_NO_MEMORY; 217 218 int rc = RTFileOpen(&pThis->hFile, pszPathAbs, fMode); 219 220 RTStrFree(pszPathAbs); 221 222 return rc; 215 223 } 216 224
Note:
See TracChangeset
for help on using the changeset viewer.