]> git.sur5r.net Git - openldap/commitdiff
Fixed slapd compilation bug (ITS#2605)
authorKurt Zeilenga <kurt@openldap.org>
Sat, 21 Jun 2003 19:22:58 +0000 (19:22 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 21 Jun 2003 19:22:58 +0000 (19:22 +0000)
CHANGES
servers/slapd/daemon.c

diff --git a/CHANGES b/CHANGES
index 542feb57d8253c83825dcf5dd78987e103c3b021..140df9fae1104c40826ff91a937178c396964825 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,7 @@ OpenLDAP 2.1.22 Engineering
        Fixed slappasswd usage help (ITS#2565)
        Build Environment
                Fixed back-ldap/meta conflict (ITS#2608)
+               Fixed slapd compilation bug (ITS#2605)
 
 OpenLDAP 2.1.21 Release
        Fixed liblber ber_get_next trickle bug (ITS#2490)
index b4448fe77b8bedd7f2819fca306fe1d07c85fd3c..a035144c9c4ddabd9a177ecdbb33cf2c8675b85c 100644 (file)
@@ -2029,19 +2029,19 @@ slap_sig_shutdown( int sig )
         * SIGBREAK is generated when a user logs out.
         */
 
+#if 0
 #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
+#endif
 #ifdef SIGHUP
        if (sig == SIGHUP && global_gentlehup && slapd_gentle_shutdown == 0)
                slapd_gentle_shutdown = 1;