From: Howard Chu Date: Wed, 9 Oct 2002 20:45:13 +0000 (+0000) Subject: ITS#2132, give up at first bind failure X-Git-Tag: NO_SLAP_OP_BLOCKS~905 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2e538e19d46972038c305a9bc4b36767868fd71d;p=openldap ITS#2132, give up at first bind failure --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index f8fc27aef4..99adbce057 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -783,8 +783,8 @@ static int slap_open_listener( (long) l.sl_sd, err, sock_errstr(err) ); #endif tcp_close( l.sl_sd ); - sal++; - continue; + slap_free_listener_addresses(psal); + return -1; } switch ( (*sal)->sa_family ) {