- Timestamp:
- Mar 22, 2012 2:10:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp
r40437 r40574 1368 1368 0 /* Infinite timeout */, 1369 1369 _64K, ComSafeArrayAsOutParam(aData), &rc); 1370 if ( SUCCEEDED(hr))1370 if (RT_SUCCESS(rc)) 1371 1371 { 1372 1372 if (aData.size()) … … 1859 1859 { 1860 1860 rc = E_OUTOFMEMORY; 1861 if (pRC) 1862 *pRC = VERR_NO_MEMORY; 1861 1863 } 1862 1864 return rc; … … 2108 2110 * don't remove it but report back an appropriate error. */ 2109 2111 vrc = VERR_BROKEN_PIPE; 2110 rc = setError(VBOX_E_IPRT_ERROR,2111 Guest::tr("Guest process (PID %u) does not run anymore"), aPID);2112 /* Not getting any output is fine, so don't report an API error (rc) 2113 * and only signal something through internal error code (vrc). */ 2112 2114 } 2113 2115 … … 2271 2273 { 2272 2274 rc = E_OUTOFMEMORY; 2275 if (pRC) 2276 *pRC = VERR_NO_MEMORY; 2273 2277 } 2274 2278 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.