]> git.sur5r.net Git - openldap/commitdiff
Don't call Debug() inside of a signal handler.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 20 Jul 1999 07:10:35 +0000 (07:10 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 20 Jul 1999 07:10:35 +0000 (07:10 +0000)
servers/slapd/daemon.c

index 89af5ec78b14d59dfcf77152fcfe999301bd94aa..0b6f3c9225da95bf9b7531186238c2fd25554321 100644 (file)
@@ -390,7 +390,6 @@ slapd_daemon(
 void
 slap_set_shutdown( int sig )
 {
-       Debug( LDAP_DEBUG_ANY, "slapd got shutdown signal %d\n", sig, 0, 0 );
        slapd_shutdown = 1;
        ldap_pvt_thread_kill( listener_tid, LDAP_SIGUSR1 );
 
@@ -401,8 +400,6 @@ slap_set_shutdown( int sig )
 void
 slap_do_nothing( int sig )
 {
-       Debug( LDAP_DEBUG_TRACE, "slapd got do_nothing signal %d\n", sig, 0, 0 );
-
        /* reinstall self */
        (void) SIGNAL( sig, slap_do_nothing );
 }