]> git.sur5r.net Git - openldap/commitdiff
ITS#2769 - NT SIGBREAK handling
authorHoward Chu <hyc@openldap.org>
Wed, 15 Oct 2003 12:16:35 +0000 (12:16 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 15 Oct 2003 12:16:35 +0000 (12:16 +0000)
servers/slapd/daemon.c

index 88f82e732210cf46906fde286b3fbf249101fe5d..68c19e0433d87e1c5e0fafaf4120c298974a62ce 100644 (file)
@@ -2077,19 +2077,11 @@ 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)
-#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
+               ;
        else
 #endif
-#endif
 #ifdef SIGHUP
        if (sig == SIGHUP && global_gentlehup && slapd_gentle_shutdown == 0)
                slapd_gentle_shutdown = 1;