VirtualBox

Ignore:
Timestamp:
Sep 7, 2018 1:14:44 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124912
Message:

DnD/VbglR3: Don't check for file sizes in vbglR3DnDHGRecvURIData(), as the to-be-transferred files might be 0-byte files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibDragAndDrop.cpp

    r69500 r74140  
    394394    if (fDoAccounting)
    395395    {
    396         if (   !cbToRecvBytes
    397             && !cToRecvObjs)
    398         {
     396        /* Note: Do not check for cbToRecvBytes == 0 here, as this might be just
     397         *       a bunch of 0-byte files to be transferred. */
     398        if (!cToRecvObjs)
    399399            return VINF_SUCCESS;
    400         }
    401400    }
    402401
Note: See TracChangeset for help on using the changeset viewer.

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