]> git.sur5r.net Git - openldap/commitdiff
ITS#2605: move #if 0 to fix compilation problem on Windows
authorKurt Zeilenga <kurt@openldap.org>
Thu, 19 Jun 2003 02:41:33 +0000 (02:41 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 19 Jun 2003 02:41:33 +0000 (02:41 +0000)
servers/slapd/daemon.c

index 752f343ba291f1946ad93fbfe1194b76f7146483..15628e1706e3586113988f0e926ae400e97e0b68 100644 (file)
@@ -2075,19 +2075,19 @@ slap_sig_shutdown( int sig )
         * SIGBREAK is generated when a user logs out.
         */
 
+#if 0
 #if HAVE_NT_SERVICE_MANAGER && SIGBREAK
        if (is_NT_Service && sig == SIGBREAK)
-#if 0
 #ifdef NEW_LOGGING
            LDAP_LOG( CONNECTION, CRIT,
                    "slap_sig_shutdown: SIGBREAK ignored.\n", 0, 0, 0 );
 #else
            Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: SIGBREAK ignored.\n",
                  0, 0, 0);
-#endif
 #endif
        else
 #endif
+#endif
 #ifdef SIGHUP
        if (sig == SIGHUP && global_gentlehup && slapd_gentle_shutdown == 0)
                slapd_gentle_shutdown = 1;