From: Kurt Zeilenga Date: Tue, 20 Jul 1999 07:11:56 +0000 (+0000) Subject: Don't call Debug inside a signal handler X-Git-Tag: OPENLDAP_REL_ENG_2_BP~84 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cb94e155aebf6bb25b1a026b53d09e2edc333d12;p=openldap Don't call Debug inside a signal handler --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 596233e827..727cf62409 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1048,7 +1048,6 @@ slap_set_shutdown( int sig ) ldap_pvt_thread_kill( listener_tid, LDAP_SIGUSR1 ); } #else - Debug( LDAP_DEBUG_TRACE, "Shutdown %d ordered", sig, 0, 0 ); /* trying to "hit" the socket seems to always get a */ /* EWOULDBLOCK error, so just close the listen socket to */ /* break out of the select since we're shutting down anyway */