mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix prev commit
This commit is contained in:
parent
9695d292ef
commit
d7be822a2a
@ -528,6 +528,7 @@ void slapd_remove(
|
|||||||
|
|
||||||
SLAP_DEL_SOCK(s);
|
SLAP_DEL_SOCK(s);
|
||||||
|
|
||||||
|
if ( sb )
|
||||||
ber_sockbuf_free(sb);
|
ber_sockbuf_free(sb);
|
||||||
|
|
||||||
/* If we ran out of file descriptors, we dropped a listener from
|
/* If we ran out of file descriptors, we dropped a listener from
|
||||||
@ -1265,7 +1266,7 @@ close_listeners(
|
|||||||
Listener *lr = slap_listeners[l];
|
Listener *lr = slap_listeners[l];
|
||||||
|
|
||||||
if ( lr->sl_sd != AC_SOCKET_INVALID ) {
|
if ( lr->sl_sd != AC_SOCKET_INVALID ) {
|
||||||
if ( remove ) slapd_remove( lr->sl_sd, 0, 0, 0 );
|
if ( remove ) slapd_remove( lr->sl_sd, NULL, 0, 0, 0 );
|
||||||
|
|
||||||
#ifdef LDAP_PF_LOCAL
|
#ifdef LDAP_PF_LOCAL
|
||||||
if ( lr->sl_sa.sa_addr.sa_family == AF_LOCAL ) {
|
if ( lr->sl_sa.sa_addr.sa_family == AF_LOCAL ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user