Skip to content
Snippets Groups Projects
Commit 51c913d8 authored by Howard Chu's avatar Howard Chu
Browse files

Fix missing break's, add overlay works

parent a2348970
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment