Changeset 28305 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 14, 2010 2:43:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r28300 r28305 595 595 int vrc = VINF_SUCCESS; 596 596 Utf8Str Utf8Command(aCommand); 597 598 /* Adjust timeout */ 599 if (aTimeoutMS == 0) 600 aTimeoutMS = UINT32_MAX; 597 601 598 602 /* Prepare arguments. */ … … 724 728 } 725 729 } 730 else /* If callback not called within time ... well, that's a timeout! */ 731 vrc = VERR_TIMEOUT; 726 732 removeCtrlCallbackContext(it); 727 733 … … 732 738 rc = setError(VBOX_E_IPRT_ERROR, 733 739 tr("The file \"%s\" was not found on guest"), Utf8Command.raw()); 740 } 741 else if (vrc == VERR_TIMEOUT) 742 { 743 rc = setError(VBOX_E_IPRT_ERROR, 744 tr("The guest guest did not respond within time (%ums)"), aTimeoutMS); 734 745 } 735 746 else
Note:
See TracChangeset
for help on using the changeset viewer.