]> git.sur5r.net Git - openldap/commitdiff
SLP fix (ITS#2438)
authorKurt Zeilenga <kurt@openldap.org>
Fri, 11 Apr 2003 04:25:55 +0000 (04:25 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 11 Apr 2003 04:25:55 +0000 (04:25 +0000)
servers/slapd/daemon.c

index 07a7d6e22a109e88382ce16c248bd8ad90d514bd..9c70258d5218200c1bc9e00b53e8d30037c3554b 100644 (file)
@@ -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],