VirtualBox

Changeset 56494 in vbox


Ignore:
Timestamp:
Jun 18, 2015 10:28:28 AM (9 years ago)
Author:
vboxsync
Message:

DnD: GuestDnDPrivate.cpp: Don't bail out too early when waiting for guest callback events, additional (release) logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestDnDPrivate.cpp

    r55963 r56494  
    835835int GuestDnDBase::sendCancel(void)
    836836{
    837     LogFlowFunc(("Generating cancel request ...\n"));
    838 
    839837    int rc;
    840838    try
     
    850848    }
    851849
     850    LogFlowFunc(("Generated cancelling request, rc=%Rrc\n", rc));
    852851    return rc;
    853852}
     
    874873        }
    875874        else if (rc == VERR_TIMEOUT) /* Continue waiting. */
    876             continue;
     875            rc = VINF_SUCCESS;
    877876
    878877        if (   msTimeout != RT_INDEFINITE_WAIT
     
    880879        {
    881880            rc = VERR_TIMEOUT;
    882             LogFlowFunc(("Guest did not respond within time\n"));
     881            LogRel2(("DnD: Error: Guest did not respond within time\n"));
    883882        }
    884883        else if (pResp->isProgressCanceled()) /** @todo GuestDnDResponse *pResp needs to go. */
    885884        {
    886             LogFlowFunc(("Canceled by user\n"));
     885            LogRel2(("DnD: Operation was canceled by user\n"));
    887886            rc = VERR_CANCELLED;
    888887        }
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