From: Kurt Zeilenga Date: Sat, 24 May 2003 21:12:20 +0000 (+0000) Subject: #if 0 debug statements in signal handlers X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86fdca5177e8a3f5bf1b3ba80d079757500de10d;p=openldap #if 0 debug statements in signal handlers --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index a0b8e92fc2..a361be936a 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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