Skip to content
Snippets Groups Projects
Commit 0f2eab27 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#2442, ITS#2438 same check for slapd_slp_reg()

parent 280fc819
No related branches found
No related tags found
No related merge requests found
......@@ -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 ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment