]> git.sur5r.net Git - openldap/commitdiff
Let slapd at least start and do things. Someone should really have
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Fri, 13 Oct 2000 20:24:49 +0000 (20:24 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Fri, 13 Oct 2000 20:24:49 +0000 (20:24 +0000)
a look at this.  Do we need to add something to every program so
that levelArray is at least initialized?

servers/slapd/main.c

index f729ec6377579fae554cb11cba8e5b19781b1e21..a909228d62ebaafc49621a1c3956b1fce88e92a7 100644 (file)
@@ -274,6 +274,7 @@ int main( int argc, char **argv )
                }
        }
 
+       lutil_set_debug_level( "slapd", slap_debug );
        ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &slap_debug);
        ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &slap_debug);
        ldif_debug = slap_debug;