From 2e538e19d46972038c305a9bc4b36767868fd71d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 9 Oct 2002 20:45:13 +0000 Subject: [PATCH] ITS#2132, give up at first bind failure --- servers/slapd/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) { -- 2.39.5