]> git.sur5r.net Git - openldap/commitdiff
#if 0 debug statements in signal handlers
authorKurt Zeilenga <kurt@openldap.org>
Sat, 24 May 2003 21:12:20 +0000 (21:12 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 24 May 2003 21:12:20 +0000 (21:12 +0000)
servers/slapd/daemon.c

index a0b8e92fc2580d872358a028a0f57dfbc2a9f37c..a361be936afc9bdac4f583d3107073e9a17317a9 100644 (file)
@@ -2053,11 +2053,13 @@ int sockdestroy(void)
 RETSIGTYPE
 slap_sig_shutdown( int sig )
 {
+#if 0
 #ifdef NEW_LOGGING
        LDAP_LOG( CONNECTION, CRIT, 
                "slap_sig_shutdown: signal %d\n", sig, 0, 0 );
 #else
        Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: signal %d\n", sig, 0, 0);
+#endif
 #endif
 
        /*
@@ -2068,12 +2070,14 @@ slap_sig_shutdown( int sig )
 
 #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