aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Utilities/ServiceWin32.cpp
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2011-09-29 12:43:05 +0200
committerSpp <spp@jorge.gr>2011-09-29 12:43:05 +0200
commitb16d2245bbd374805d15cdca585e8b42bf139605 (patch)
treeb7b63c567112e1999a2566611363cf5e83adb1be /src/server/shared/Utilities/ServiceWin32.cpp
parent8b820baa7324d41df264f48e344d62584bff70f8 (diff)
Cosmetic: Multiple cosmetic changes
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '(' - Added missing space after a comma and remove space before comma (with some exceptions) - Remove trailing spaces - Convert tab to spaces Note: Only affects files with extension "cpp" and "h" under /src/server
Diffstat (limited to 'src/server/shared/Utilities/ServiceWin32.cpp')
-rwxr-xr-xsrc/server/shared/Utilities/ServiceWin32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/shared/Utilities/ServiceWin32.cpp b/src/server/shared/Utilities/ServiceWin32.cpp
index f768a3ab68c..cd623c62132 100755
--- a/src/server/shared/Utilities/ServiceWin32.cpp
+++ b/src/server/shared/Utilities/ServiceWin32.cpp
@@ -80,7 +80,7 @@ bool WinServiceInstall()
if (service)
{
advapi32 = GetModuleHandle("ADVAPI32.DLL");
- if(!advapi32)
+ if (!advapi32)
{
CloseServiceHandle(service);
CloseServiceHandle(serviceControlManager);
@@ -232,7 +232,7 @@ void WINAPI ServiceMain(DWORD argc, char *argv[])
m_ServiceStatus = 1;
argc = 1;
- main(argc , argv);
+ main(argc, argv);
// service was stopped
serviceStatus.dwCurrentState = SERVICE_STOP_PENDING;