mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
ITS#2605: move #if 0 to fix compilation problem on Windows
This commit is contained in:
parent
6fc06a7801
commit
3e0e06bcc5
1 changed files with 2 additions and 2 deletions
|
|
@ -2075,19 +2075,19 @@ slap_sig_shutdown( int sig )
|
||||||
* SIGBREAK is generated when a user logs out.
|
* SIGBREAK is generated when a user logs out.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if 0
|
||||||
#if HAVE_NT_SERVICE_MANAGER && SIGBREAK
|
#if HAVE_NT_SERVICE_MANAGER && SIGBREAK
|
||||||
if (is_NT_Service && sig == SIGBREAK)
|
if (is_NT_Service && sig == SIGBREAK)
|
||||||
#if 0
|
|
||||||
#ifdef NEW_LOGGING
|
#ifdef NEW_LOGGING
|
||||||
LDAP_LOG( CONNECTION, CRIT,
|
LDAP_LOG( CONNECTION, CRIT,
|
||||||
"slap_sig_shutdown: SIGBREAK ignored.\n", 0, 0, 0 );
|
"slap_sig_shutdown: SIGBREAK ignored.\n", 0, 0, 0 );
|
||||||
#else
|
#else
|
||||||
Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: SIGBREAK ignored.\n",
|
Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: SIGBREAK ignored.\n",
|
||||||
0, 0, 0);
|
0, 0, 0);
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef SIGHUP
|
#ifdef SIGHUP
|
||||||
if (sig == SIGHUP && global_gentlehup && slapd_gentle_shutdown == 0)
|
if (sig == SIGHUP && global_gentlehup && slapd_gentle_shutdown == 0)
|
||||||
slapd_gentle_shutdown = 1;
|
slapd_gentle_shutdown = 1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue