Replaced Tabs with 4 spaces in every source file
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6561 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -33,7 +33,7 @@ struct winservice : servercontroller
|
||||
|
||||
void start() // starts the server again on a new thread and returns once the windows service has stopped
|
||||
{
|
||||
SERVICE_TABLE_ENTRY dispatchtable[] = { { (LPSTR)name, (LPSERVICE_MAIN_FUNCTION)callbacks::main }, { NULL, NULL } };
|
||||
SERVICE_TABLE_ENTRY dispatchtable[] = { { (LPSTR)name, (LPSERVICE_MAIN_FUNCTION)callbacks::main }, { NULL, NULL } };
|
||||
if(StartServiceCtrlDispatcher(dispatchtable)) exit(EXIT_SUCCESS);
|
||||
else fatal("an error occurred running the AC server as windows service. make sure you start the server from the service control manager and not from the command line.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user