Commit 669aa362 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

ITS#2442/2438 slp fix

parent d213c549
......@@ -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 ||
......@@ -176,6 +178,8 @@ void slapd_slp_reg() {
void slapd_slp_dereg() {
int i;
if( slapd_srvurls == NULL ) return;
for( i=0; slapd_srvurls[i] != NULL; i++ ) {
SLPDereg( slapd_hslp,
slapd_srvurls[i],
......
Markdown is supported
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