From: Kurt Zeilenga Date: Fri, 11 Apr 2003 04:25:55 +0000 (+0000) Subject: SLP fix (ITS#2438) X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~397 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=217f45a16cc4cdd7bea3c7d50131a11911a20180;p=openldap SLP fix (ITS#2438) --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 07a7d6e22a..9c70258d52 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -176,6 +176,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],