ITS#2132, give up at first bind failure

This commit is contained in:
Howard Chu 2002-10-09 20:45:13 +00:00
parent 5060ebb36d
commit 2e538e19d4

View File

@ -783,8 +783,8 @@ static int slap_open_listener(
(long) l.sl_sd, err, sock_errstr(err) ); (long) l.sl_sd, err, sock_errstr(err) );
#endif #endif
tcp_close( l.sl_sd ); tcp_close( l.sl_sd );
sal++; slap_free_listener_addresses(psal);
continue; return -1;
} }
switch ( (*sal)->sa_family ) { switch ( (*sal)->sa_family ) {