X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Fwin32service.cpp;h=45aba726824c0d3af6146934f159887c97a500fa;hb=2ba32afa9a9aca7c82966b66bda16c3c3dbfbba5;hp=c34e9957d318d6bfaa020fbb690e856733e088d2;hpb=8d419c3873cd3593baf4cc5f66bbe854a3a4614f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/win32service.cpp b/win/win32service.cpp index c34e9957d..45aba7268 100644 --- a/win/win32service.cpp +++ b/win/win32service.cpp @@ -1,7 +1,11 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2008 Craig Edwards + * Copyright (C) 2013 Sadie Powell + * Copyright (C) 2012-2013 ChrisTX + * Copyright (C) 2012-2013 Attila Molnar + * Copyright (C) 2012 Robby + * Copyright (C) 2008 Craig Edwards * * 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 +21,6 @@ */ -#include "inspircd_config.h" #include "inspircd.h" #include "exitcodes.h" #include @@ -38,7 +41,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) { @@ -280,7 +283,7 @@ int main(int argc, char* argv[]) } else { - return EXIT_STATUS_INTERNAL; + return EXIT_STATUS_SERVICE; } } return 0;