]> git.sur5r.net Git - openldap/commitdiff
Fix missing break's, add overlay works
authorHoward Chu <hyc@openldap.org>
Sun, 27 Mar 2005 13:27:30 +0000 (13:27 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 27 Mar 2005 13:27:30 +0000 (13:27 +0000)
servers/slapd/bconfig.c

index bac8562c010221bb2f502ef5f0a172be404f04d2..ec7900b3ffe7aa275bbd6530dacb09f232e01a2e 100644 (file)
@@ -3163,6 +3163,7 @@ config_add_internal( CfBackInfo *cfb, Entry *e, SlapReply *rs, int *renum )
                        rc = LDAP_CONSTRAINT_VIOLATION;
                        goto leave;
                }
+               break;
 #ifdef SLAPD_MODULES
        case Cft_Module:
                if ( !last || last->ce_type != Cft_Global ) {
@@ -3205,11 +3206,13 @@ config_add_internal( CfBackInfo *cfb, Entry *e, SlapReply *rs, int *renum )
        case Cft_Overlay:
                ca.be = last->ce_be;
                type_ad = cfAd_overlay;
+               break;
 
        case Cft_Include:
                if ( !rs )      /* ignored */
                        break;
                type_ad = cfAd_include;
+               break;
 #ifdef SLAPD_MODULES
        case Cft_Module: {
                ModPaths *mp;