X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Fwin32service.cpp;h=1d4cbad3bb6a7a85893e53e990d03113b03df036;hb=44f42a13de52c8025942ddab42f51feb36821782;hp=27e6d541ec920d2bc22e5c4c1107cf8605127d47;hpb=097e19291f90bc35be8d307092435cd036e23dd2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/win32service.cpp b/win/win32service.cpp index 27e6d541e..1d4cbad3b 100644 --- a/win/win32service.cpp +++ b/win/win32service.cpp @@ -1,17 +1,25 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ +/* + * InspIRCd -- Internet Relay Chat Daemon * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * Copyright (C) 2008 Craig Edwards * - * This program is free but copyrighted software; see - * the file COPYING for details. + * 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 + * License as published by the Free Software Foundation, version 2. * - * --------------------------------------------------- + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ + + #include "inspircd_config.h" #include "inspircd.h" +#include "exitcodes.h" #include #include #include @@ -180,7 +188,6 @@ VOID ServiceCtrlHandler(DWORD controlCode) VOID ServiceMain(DWORD argc, LPTSTR *argv) { BOOL success; - DWORD type=0, size=0; serviceStatusHandle = RegisterServiceCtrlHandler("InspIRCd", (LPHANDLER_FUNCTION)ServiceCtrlHandler); if (!serviceStatusHandle)