From 217f45a16cc4cdd7bea3c7d50131a11911a20180 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 11 Apr 2003 04:25:55 +0000 Subject: [PATCH] SLP fix (ITS#2438) --- servers/slapd/daemon.c | 2 ++ 1 file changed, 2 insertions(+) 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], -- 2.39.5