Changeset 13837 in vbox for trunk/src/VBox/Main/ConsoleImpl2.cpp
- Timestamp:
- Nov 5, 2008 2:54:02 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38828
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r13835 r13837 122 122 #define STR_CONV() do { rc = RTUtf16ToUtf8(str, &psz); RC_CHECK(); } while (0) 123 123 #define STR_FREE() do { if (str) { SysFreeString(str); str = NULL; } if (psz) { RTStrFree(psz); psz = NULL; } } while (0) 124 #define RC_CHECK() do { if (RT_FAILURE(rc)) { AssertMsgFailed(("rc=% Vrc\n", rc)); STR_FREE(); return rc; } } while (0)124 #define RC_CHECK() do { if (RT_FAILURE(rc)) { AssertMsgFailed(("rc=%Rrc\n", rc)); STR_FREE(); return rc; } } while (0) 125 125 #define H() do { if (FAILED(hrc)) { AssertMsgFailed(("hrc=%#x\n", hrc)); STR_FREE(); return VERR_GENERAL_FAILURE; } } while (0) 126 126 … … 1676 1676 if (RT_FAILURE (rc)) 1677 1677 { 1678 LogRel(("VBoxSharedClipboard is not available. rc = % Vrc\n", rc));1678 LogRel(("VBoxSharedClipboard is not available. rc = %Rrc\n", rc)); 1679 1679 /* That is not a fatal failure. */ 1680 1680 rc = VINF_SUCCESS; … … 1732 1732 if (RT_FAILURE (rc)) 1733 1733 { 1734 LogRel(("VBoxGuestPropSvc is not available. rc = % Vrc\n", rc));1734 LogRel(("VBoxGuestPropSvc is not available. rc = %Rrc\n", rc)); 1735 1735 /* That is not a fatal failure. */ 1736 1736 rc = VINF_SUCCESS; … … 1960 1960 pConsole->mpVM = pVM; 1961 1961 1962 LogFlowFunc (("vrc = % Vrc\n", rc));1962 LogFlowFunc (("vrc = %Rrc\n", rc)); 1963 1963 LogFlowFuncLeave(); 1964 1964
Note:
See TracChangeset
for help on using the changeset viewer.