mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#5563 don't die if there are no listeners when matching serverID URL.
This commit is contained in:
parent
70a964e64d
commit
82cb2a1f05
@ -1676,7 +1676,7 @@ sortval_reject:
|
||||
Listener **l = slapd_get_listeners();
|
||||
int i;
|
||||
|
||||
for ( i=0; l[i]; i++ ) {
|
||||
for ( i=0; l && l[i]; i++ ) {
|
||||
LDAPURLDesc *lu2;
|
||||
int isMe = 0;
|
||||
ldap_url_parse( l[i]->sl_url.bv_val, &lu2 );
|
||||
|
Loading…
Reference in New Issue
Block a user