From 51c913d83cb37d25c38e5c38b8796efc19c14d01 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 27 Mar 2005 13:27:30 +0000 Subject: [PATCH] Fix missing break's, add overlay works --- servers/slapd/bconfig.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5