Changeset 82462 in vbox for trunk/src/VBox/GuestHost/SharedClipboard
- Timestamp:
- Dec 6, 2019 2:22:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp
r82460 r82462 818 818 * Make sure the transfer direction matches the open/create parameters. 819 819 */ 820 if (pTransfer->State.enmDir == SHCLTRANSFERDIR_ READ)820 if (pTransfer->State.enmDir == SHCLTRANSFERDIR_FROM_REMOTE) 821 821 { 822 822 if (pOpenCreateParms->fCreate & SHCL_OBJ_CF_ACCESS_READ) /* Read access wanted? */ … … 827 827 } 828 828 } 829 else if (pTransfer->State.enmDir == SHCLTRANSFERDIR_ WRITE)829 else if (pTransfer->State.enmDir == SHCLTRANSFERDIR_TO_REMOTE) 830 830 { 831 831 if (pOpenCreateParms->fCreate & SHCL_OBJ_CF_ACCESS_WRITE) /* Write access wanted? */ … … 854 854 /* Only if this is a read transfer (locally) we're able to actually write to files 855 855 * (we're reading from the source). */ 856 const bool fWritable = pTransfer->State.enmDir == SHCLTRANSFERDIR_ READ;856 const bool fWritable = pTransfer->State.enmDir == SHCLTRANSFERDIR_FROM_REMOTE; 857 857 858 858 uint64_t fOpen;
Note:
See TracChangeset
for help on using the changeset viewer.