]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Some comments
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 24 Aug 2008 23:47:20 +0000 (23:47 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 24 Aug 2008 23:47:20 +0000 (23:47 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10261 e03df62e-2008-0410-955e-edbf42e46eb7

win/win32service.cpp

index e75b2eeba73e6533953c5c937adbb885ddb3d6ae..ef2e0f3a41564affbe7b61bb01d25382f0c5c862 100644 (file)
@@ -43,6 +43,7 @@ struct Commandline
 /* A function pointer for dynamic linking tricks */
 SETSERVDESC ChangeServiceConf;
 
+/* Returns true if this program is running as a service, false if it is running interactive */
 bool IsAService()
 {
        USEROBJECTFLAGS uoflags;
@@ -143,7 +144,7 @@ void terminateService(int code, int wincode)
        return;
 }
 
-/* In windows we hook this to exit() */
+/* In windows we hook this to InspIRCd::Exit() */
 void SetServiceStopped(int status)
 {
        if (!IsAService())