VirtualBox

Changeset 85027 in vbox for trunk


Ignore:
Timestamp:
Jul 1, 2020 2:30:46 PM (4 years ago)
Author:
vboxsync
Message:

DnD/DroppedFiles: Renaming.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/DragAndDrop/DnDDroppedFiles.cpp

    r85026 r85027  
    171171        /* The actually drop directory consist of the current time stamp and a
    172172         * unique number when necessary. */
    173         char pszTime[64];
     173        char szTime[64];
    174174        RTTIMESPEC time;
    175         if (!RTTimeSpecToString(RTTimeNow(&time), pszTime, sizeof(pszTime)))
     175        if (!RTTimeSpecToString(RTTimeNow(&time), szTime, sizeof(szTime)))
    176176        {
    177177            rc = VERR_BUFFER_OVERFLOW;
     
    179179        }
    180180
    181         rc = DnDPathSanitizeFilename(pszTime, sizeof(pszTime));
     181        rc = DnDPathSanitizeFilename(szTime, sizeof(szTime));
    182182        if (RT_FAILURE(rc))
    183183            break;
    184184
    185         rc = RTPathAppend(szDropDir, sizeof(szDropDir), pszTime);
     185        rc = RTPathAppend(szDropDir, sizeof(szDropDir), szTime);
    186186        if (RT_FAILURE(rc))
    187187            break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette