VirtualBox

Changeset 26186 in vbox for trunk/src/VBox/Main/xpcom


Ignore:
Timestamp:
Feb 3, 2010 1:07:12 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57205
Message:

Main: coding style fixes

Location:
trunk/src/VBox/Main/xpcom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xpcom/server.cpp

    r26089 r26186  
    978978
    979979        nsCOMPtr<ipcIService> ipcServ (do_GetService(IPC_SERVICE_CONTRACTID, &rc));
    980         if (NS_FAILED (rc))
     980        if (NS_FAILED(rc))
    981981        {
    982982            RTMsgError("Failed to get IPC service! (rc=%Rhrc)", rc);
  • trunk/src/VBox/Main/xpcom/server_module.cpp

    r24847 r26186  
    8484 *  Full path to the VBoxSVC executable.
    8585 */
    86 static char VBoxSVCPath [RTPATH_MAX];
     86static char VBoxSVCPath[RTPATH_MAX];
    8787static bool IsVBoxSVCPathSet = false;
    8888
     
    160160                }
    161161            }
    162             if (NS_FAILED (rc))
     162            if (NS_FAILED(rc))
    163163                break;
    164164        }
    165165
    166166        nsCOMPtr <ipcIService> ipcServ = do_GetService (IPC_SERVICE_CONTRACTID, &rc);
    167         if (NS_FAILED (rc))
     167        if (NS_FAILED(rc))
    168168            break;
    169169
     
    179179            PRUint32 serverID = 0;
    180180            rc = ipcServ->ResolveClientName (VBOXSVC_IPC_NAME, &serverID);
    181             if (NS_FAILED (rc))
     181            if (NS_FAILED(rc))
    182182            {
    183183                LogFlowFunc (("Starting server \"%s\"...\n", VBoxSVCPath));
     
    241241            nsCOMPtr <ipcIDConnectService> dconServ =
    242242                do_GetService (IPC_DCONNECTSERVICE_CONTRACTID, &rc);
    243             if (NS_FAILED (rc))
     243            if (NS_FAILED(rc))
    244244                break;
    245245
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette