mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
ITS#2442, ITS#2438 same check for slapd_slp_reg()
This commit is contained in:
parent
280fc819cf
commit
0f2eab27ce
1 changed files with 2 additions and 0 deletions
|
|
@ -155,6 +155,8 @@ void slapd_slp_regreport(
|
|||
void slapd_slp_reg() {
|
||||
int i;
|
||||
|
||||
if( slapd_srvurls == NULL ) return;
|
||||
|
||||
for( i=0; slapd_srvurls[i] != NULL; i++ ) {
|
||||
if( strncmp( slapd_srvurls[i], LDAP_SRVTYPE_PREFIX,
|
||||
sizeof( LDAP_SRVTYPE_PREFIX ) - 1 ) == 0 ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue