- Timestamp:
- Jul 1, 2020 2:30:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/DragAndDrop/DnDDroppedFiles.cpp
r85026 r85027 171 171 /* The actually drop directory consist of the current time stamp and a 172 172 * unique number when necessary. */ 173 char pszTime[64];173 char szTime[64]; 174 174 RTTIMESPEC time; 175 if (!RTTimeSpecToString(RTTimeNow(&time), pszTime, sizeof(pszTime)))175 if (!RTTimeSpecToString(RTTimeNow(&time), szTime, sizeof(szTime))) 176 176 { 177 177 rc = VERR_BUFFER_OVERFLOW; … … 179 179 } 180 180 181 rc = DnDPathSanitizeFilename( pszTime, sizeof(pszTime));181 rc = DnDPathSanitizeFilename(szTime, sizeof(szTime)); 182 182 if (RT_FAILURE(rc)) 183 183 break; 184 184 185 rc = RTPathAppend(szDropDir, sizeof(szDropDir), pszTime);185 rc = RTPathAppend(szDropDir, sizeof(szDropDir), szTime); 186 186 if (RT_FAILURE(rc)) 187 187 break;
Note:
See TracChangeset
for help on using the changeset viewer.

