]> git.sur5r.net Git - openldap/commitdiff
ITS#7739 fix for empty nested include
authorHoward Chu <hyc@openldap.org>
Tue, 5 Nov 2013 15:34:30 +0000 (07:34 -0800)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 5 Nov 2013 19:18:19 +0000 (11:18 -0800)
servers/slapd/bconfig.c

index 8d4592440c70e4a9d4cd35a6f3bc9f6696f0afd5..30555a4e3c1e1ef2b2d520c39c6658ec0881ac87 100644 (file)
@@ -6550,7 +6550,7 @@ config_build_schema_inc( ConfigArgs *c, CfEntryInfo *ceparent,
 
        for (; cf; cf=cf->c_sibs, c->depth++) {
                if ( !cf->c_at_head && !cf->c_cr_head && !cf->c_oc_head &&
-                       !cf->c_om_head && !cf->c_syn_head ) continue;
+                       !cf->c_om_head && !cf->c_syn_head && !cf->c_kids ) continue;
                c->value_dn.bv_val = c->log;
                LUTIL_SLASHPATH( cf->c_file.bv_val );
                bv.bv_val = strrchr(cf->c_file.bv_val, LDAP_DIRSEP[0]);