Changeset 38866 in vbox
- Timestamp:
- Sep 26, 2011 1:08:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExecThread.cpp
r38587 r38866 339 339 if (RT_SUCCESS(rc)) 340 340 { 341 const PVBOXSERVICECTRLTHREAD p Node= vboxServiceControlExecThreadGetByPID(uPID);342 if (p Node)343 { 344 const PVBOXSERVICECTRLTHREADDATAEXEC pData = (PVBOXSERVICECTRLTHREADDATAEXEC)p Node->pvData;341 const PVBOXSERVICECTRLTHREAD pThread = vboxServiceControlExecThreadGetByPID(uPID); 342 if (pThread) 343 { 344 const PVBOXSERVICECTRLTHREADDATAEXEC pData = (PVBOXSERVICECTRLTHREADDATAEXEC)pThread->pvData; 345 345 AssertPtr(pData); 346 346 … … 353 353 354 354 case OUTPUT_HANDLE_ID_STDOUT: /* StdOut */ 355 default: /* On VBox host < 4.1 this is 0, so default to stdout 356 * to not break things. */ 355 357 pPipeBuf = &pData->stdOut; 356 break;357 358 default:359 AssertReleaseMsgFailed(("Unknown output handle ID (%u)\n", uHandleId));360 358 break; 361 359 }
Note:
See TracChangeset
for help on using the changeset viewer.