mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
#if 0 debug statements in signal handlers
This commit is contained in:
parent
6180bcbf51
commit
86fdca5177
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue