mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 11:39:34 -05:00
ITS#7098 fix del/add of first schema element
This commit is contained in:
parent
5b7c44a136
commit
704e8228c0
1 changed files with 3 additions and 3 deletions
|
|
@ -1793,7 +1793,7 @@ config_generic(ConfigArgs *c) {
|
|||
/* else prev is NULL, append to end of global list */
|
||||
}
|
||||
if(parse_oc(c, &oc, prev)) return(1);
|
||||
if (!cfn->c_oc_head) cfn->c_oc_head = oc;
|
||||
if (!cfn->c_oc_head || !c->valx) cfn->c_oc_head = oc;
|
||||
if (cfn->c_oc_tail == prev) cfn->c_oc_tail = oc;
|
||||
}
|
||||
break;
|
||||
|
|
@ -1826,7 +1826,7 @@ config_generic(ConfigArgs *c) {
|
|||
/* else prev is NULL, append to end of global list */
|
||||
}
|
||||
if(parse_at(c, &at, prev)) return(1);
|
||||
if (!cfn->c_at_head) cfn->c_at_head = at;
|
||||
if (!cfn->c_at_head || !c->valx) cfn->c_at_head = at;
|
||||
if (cfn->c_at_tail == prev) cfn->c_at_tail = at;
|
||||
}
|
||||
break;
|
||||
|
|
@ -1859,7 +1859,7 @@ config_generic(ConfigArgs *c) {
|
|||
/* else prev is NULL, append to end of global list */
|
||||
}
|
||||
if ( parse_syn( c, &syn, prev ) ) return(1);
|
||||
if ( !cfn->c_syn_head ) cfn->c_syn_head = syn;
|
||||
if ( !cfn->c_syn_head || !c->valx ) cfn->c_syn_head = syn;
|
||||
if ( cfn->c_syn_tail == prev ) cfn->c_syn_tail = syn;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue