From: Howard Chu Date: Sun, 27 Mar 2005 13:27:30 +0000 (+0000) Subject: Fix missing break's, add overlay works X-Git-Tag: OPENLDAP_AC_BP~1058 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=51c913d83cb37d25c38e5c38b8796efc19c14d01;p=openldap Fix missing break's, add overlay works --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index bac8562c01..ec7900b3ff 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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;