Changeset 6974 in vbox for trunk/src/libs/xpcom18a4/ipc/ipcd
- Timestamp:
- Feb 15, 2008 5:30:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp
r6920 r6974 2467 2467 2468 2468 rv = completion.GetResult(); 2469 if ( NS_FAILED(rv))2469 if (rv != NS_OK) 2470 2470 { 2471 2471 NS_ASSERTION(completion.ParamsLen() == 0 || … … 2582 2582 LOG(("got SETUP_REPLY: status=%x instance=%p\n", reply->status, reply->instance)); 2583 2583 2584 if ( NS_FAILED(reply->status))2584 if (reply->status != NS_OK) 2585 2585 { 2586 2586 mStatus = reply->status; … … 2589 2589 const PRUint32 paramsLen = opLen - sizeof (DConnectSetupReply); 2590 2590 2591 NS_ASSERTION(paramsLen >= sizeof(void*),2591 NS_ASSERTION(paramsLen == 0 || paramsLen >= sizeof(void*), 2592 2592 "invalid nsIException serialization length"); 2593 2593 if (paramsLen >= sizeof(void*)) … … 3532 3532 writer.PutBytes(&msg, sizeof(msg)); 3533 3533 3534 if ( NS_FAILED(rv))3534 if (rv != NS_OK) 3535 3535 { 3536 3536 // try to fetch an nsIException possibly set by one of the setup methods … … 3728 3728 params); 3729 3729 3730 if ( NS_FAILED(rv))3730 if (rv != NS_OK) 3731 3731 { 3732 3732 // try to fetch an nsIException possibly set by the method
Note:
See TracChangeset
for help on using the changeset viewer.