Commit 0f2eab27 authored by Howard Chu's avatar Howard Chu
Browse files

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

parent 280fc819
......@@ -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 ||
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment