]> 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:15:07 +0000 (11:15 -0800)
servers/slapd/bconfig.c

index f9b5531e8bef57ff6b3792f99ac433c13121d580..e12a89aeb8d3bfb92155c0828fba3b003122d00a 100644 (file)
@@ -6803,7 +6803,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]);