]> git.sur5r.net Git - openldap/commitdiff
SLAPD_SCHEMA_NOT_COMPAT: fix add bug
authorKurt Zeilenga <kurt@openldap.org>
Tue, 23 May 2000 18:20:38 +0000 (18:20 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 23 May 2000 18:20:38 +0000 (18:20 +0000)
servers/slapd/back-ldbm/add.c

index 1579b4607cded0e6182f7129bcceb3a8012ea471..141bdb45b5cecd7e56bcddafdf40b2571e19da24 100644 (file)
@@ -31,7 +31,7 @@ ldbm_back_add(
        int                     rc; 
        const char      *text;
 #ifdef SLAPD_SCHEMA_NOT_COMPAT
-       static AttributeDescription *children = NULL;
+       AttributeDescription *children = slap_schema.si_ad_children;
 #else
        static const char *children = "children";
 #endif