mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#3443 fix shutdown test
This commit is contained in:
parent
5162c4477b
commit
8d4281d843
@ -912,11 +912,13 @@ do_syncrepl(
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if ( slapd_shutdown && si->si_ld ) {
|
||||
ldap_get_option( si->si_ld, LDAP_OPT_DESC, &s );
|
||||
connection_client_stop( s );
|
||||
ldap_unbind( si->si_ld );
|
||||
si->si_ld = NULL;
|
||||
if ( slapd_shutdown ) {
|
||||
if ( si->si_ld ) {
|
||||
ldap_get_option( si->si_ld, LDAP_OPT_DESC, &s );
|
||||
connection_client_stop( s );
|
||||
ldap_unbind( si->si_ld );
|
||||
si->si_ld = NULL;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user