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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( slapd_shutdown && si->si_ld ) {
|
if ( slapd_shutdown ) {
|
||||||
ldap_get_option( si->si_ld, LDAP_OPT_DESC, &s );
|
if ( si->si_ld ) {
|
||||||
connection_client_stop( s );
|
ldap_get_option( si->si_ld, LDAP_OPT_DESC, &s );
|
||||||
ldap_unbind( si->si_ld );
|
connection_client_stop( s );
|
||||||
si->si_ld = NULL;
|
ldap_unbind( si->si_ld );
|
||||||
|
si->si_ld = NULL;
|
||||||
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user