Changeset 56907 in vbox
- Timestamp:
- Jul 9, 2015 6:05:19 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 101593
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDnDSourceImpl.cpp
r56782 r56907 604 604 && !pCtx->mURI.objURI.IsComplete()) 605 605 { 606 LogFlowFunc(("Warning: Object '%s' not complete yet\n", pCtx->mURI.objURI.GetDestPath().c_str())); 606 AssertMsgFailed(("Object '%s' not complete yet\n", pCtx->mURI.objURI.GetDestPath().c_str())); 607 rc = VERR_WRONG_ORDER; 608 break; 609 } 610 611 if (pCtx->mURI.objURI.IsOpen()) /* File already opened? */ 612 { 613 AssertMsgFailed(("Current opened object is '%s', close this first\n", pCtx->mURI.objURI.GetDestPath().c_str())); 614 rc = VERR_WRONG_ORDER; 615 break; 616 } 617 618 if (cbSize > pCtx->mData.cbToProcess) 619 { 620 AssertMsgFailed(("File size (%RU64) exceeds total size to transfer (%RU64)\n", cbSize, pCtx->mData.cbToProcess)); 607 621 rc = VERR_INVALID_PARAMETER; 608 break;609 }610 611 if (pCtx->mURI.objURI.IsOpen()) /* File already opened? */612 {613 LogFlowFunc(("Warning: Current opened object is '%s'\n", pCtx->mURI.objURI.GetDestPath().c_str()));614 rc = VERR_WRONG_ORDER;615 622 break; 616 623 }
Note:
See TracChangeset
for help on using the changeset viewer.