Changeset 26186 in vbox for trunk/src/VBox/Main/xpcom
- Timestamp:
- Feb 3, 2010 1:07:12 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57205
- Location:
- trunk/src/VBox/Main/xpcom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xpcom/server.cpp
r26089 r26186 978 978 979 979 nsCOMPtr<ipcIService> ipcServ (do_GetService(IPC_SERVICE_CONTRACTID, &rc)); 980 if (NS_FAILED 980 if (NS_FAILED(rc)) 981 981 { 982 982 RTMsgError("Failed to get IPC service! (rc=%Rhrc)", rc); -
trunk/src/VBox/Main/xpcom/server_module.cpp
r24847 r26186 84 84 * Full path to the VBoxSVC executable. 85 85 */ 86 static char VBoxSVCPath 86 static char VBoxSVCPath[RTPATH_MAX]; 87 87 static bool IsVBoxSVCPathSet = false; 88 88 … … 160 160 } 161 161 } 162 if (NS_FAILED 162 if (NS_FAILED(rc)) 163 163 break; 164 164 } 165 165 166 166 nsCOMPtr <ipcIService> ipcServ = do_GetService (IPC_SERVICE_CONTRACTID, &rc); 167 if (NS_FAILED 167 if (NS_FAILED(rc)) 168 168 break; 169 169 … … 179 179 PRUint32 serverID = 0; 180 180 rc = ipcServ->ResolveClientName (VBOXSVC_IPC_NAME, &serverID); 181 if (NS_FAILED 181 if (NS_FAILED(rc)) 182 182 { 183 183 LogFlowFunc (("Starting server \"%s\"...\n", VBoxSVCPath)); … … 241 241 nsCOMPtr <ipcIDConnectService> dconServ = 242 242 do_GetService (IPC_DCONNECTSERVICE_CONTRACTID, &rc); 243 if (NS_FAILED 243 if (NS_FAILED(rc)) 244 244 break; 245 245
Note:
See TracChangeset
for help on using the changeset viewer.