]> git.sur5r.net Git - openldap/commitdiff
ITS#8725 Always remove listener descriptors from daemon on shutdown
authorNadezhda Ivanova <nivanova@symas.com>
Fri, 24 Mar 2017 11:19:00 +0000 (13:19 +0200)
committerHoward Chu <hyc@openldap.org>
Fri, 8 Sep 2017 18:43:59 +0000 (19:43 +0100)
servers/slapd/daemon.c

index f14a4160d7e19cc0197e0f4bc95bc1cc6b99cc62..4c7ed845a1190efc2c5b6d655ef61c6466c68c93 100644 (file)
@@ -2814,7 +2814,7 @@ loop:
                       0, 0, 0 );
        }
 
-       close_listeners( 0 );
+       close_listeners( 1 );
 
        if ( !slapd_gentle_shutdown ) {
                slapd_abrupt_shutdown = 1;