]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/win32service.cpp
Use /run/inspircd as the runtime directory on Linux.
[user/henk/code/inspircd.git] / win / win32service.cpp
index 448829a1d9dcaf4de169144337cb670f5a30cbe9..27efd653f8fb9329aa91e617b06c9d682d0daee3 100644 (file)
@@ -1,7 +1,10 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2008 Craig Edwards <craigedwards@brainbox.cc>
+ *   Copyright (C) 2012-2013 ChrisTX <xpipe@hotmail.de>
+ *   Copyright (C) 2012-2013 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2012 Robby <robby@chatbelgie.be>
+ *   Copyright (C) 2008 Craig Edwards <brain@inspircd.org>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -17,7 +20,6 @@
  */
 
 
-#include "config.h"
 #include "inspircd.h"
 #include "exitcodes.h"
 #include <windows.h>
@@ -38,7 +40,7 @@ struct Service_Data {
 static Service_Data g_ServiceData;
 
 /** The main part of inspircd runs within this thread function. This allows the service part to run
- * seperately on its own and to be able to kill the worker thread when its time to quit.
+ * separately on its own and to be able to kill the worker thread when its time to quit.
  */
 DWORD WINAPI WorkerThread(LPVOID param)
 {
@@ -117,7 +119,7 @@ VOID ServiceMain(DWORD argc, LPCSTR *argv)
                g_ServiceData.argc = argc;
 
                // Note: since this memory is going to stay allocated for the rest of the execution,
-               //               it doesn't make sense to free it, as it's going to be "freed" on process termination
+               // it doesn't make sense to free it, as it's going to be "freed" on process termination
                try {
                        g_ServiceData.argv = new char*[argc];