Changeset 23841 in vbox
- Timestamp:
- Oct 17, 2009 7:07:43 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53599
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r23827 r23841 6762 6762 } 6763 6763 else if (task->mTeleporterEnabled) 6764 { 6764 6765 /* -> ConsoleImplTeleporter.cpp */ 6765 6766 vrc = console->teleporterTrg(pVM, pMachine, task->mStartPaused, task->mProgress); 6767 if (RT_FAILURE(vrc)) 6768 rc = E_FAIL; /* Avoid the "Missing error message..." assertion. */ 6769 } 6766 6770 else if (task->mStartPaused) 6767 6771 /* done */ … … 6821 6825 { 6822 6826 /* If the error message is not set but we've got a failure, 6823 * convert the VBox status code into a meaningful error message.6827 * convert the VBox status code into a meaningful error message. 6824 6828 * This becomes unused once all the sources of errors set the 6825 6829 * appropriate error message themselves. -
trunk/src/VBox/Main/ConsoleImplTeleporter.cpp
r23827 r23841 816 816 * Running (false) state, 817 817 * @param pProgress Pointer to the progress object. 818 * 819 * @remarks The caller expects error information to be set on failure. 820 * @todo Check that all the possible failure paths sets error info... 818 821 */ 819 822 int … … 918 921 else if (vrc == VERR_TCP_SERVER_SHUTDOWN) 919 922 { 920 /** @todo this crap isn't work right wrt error info. Aaaarrrg! */921 923 BOOL fCancelled = TRUE; 922 924 hrc = pProgress->COMGETTER(Canceled)(&fCancelled); … … 931 933 vrc = VERR_TIMEOUT; 932 934 } 933 pProgress->setResultCode(E_FAIL); /* ugly! */934 935 LogRel(("Teleporter: RTTcpServerListen aborted - %Rrc\n", vrc)); 935 936 fPowerOff = true;
Note:
See TracChangeset
for help on using the changeset viewer.