mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
If we are inheriting the syntax from a superior, we'd rather inherit
the length too.
This commit is contained in:
parent
9ec2849a6d
commit
45679394e0
@ -571,6 +571,7 @@ at_add(
|
|||||||
if ( sat->sat_sup ) {
|
if ( sat->sat_sup ) {
|
||||||
if ( !sat->sat_syntax ) {
|
if ( !sat->sat_syntax ) {
|
||||||
sat->sat_syntax = sat->sat_sup->sat_syntax;
|
sat->sat_syntax = sat->sat_sup->sat_syntax;
|
||||||
|
sat->sat_syntax_len = sat->sat_sup->sat_syntax_len;
|
||||||
}
|
}
|
||||||
if ( !sat->sat_equality ) {
|
if ( !sat->sat_equality ) {
|
||||||
sat->sat_equality = sat->sat_sup->sat_equality;
|
sat->sat_equality = sat->sat_sup->sat_equality;
|
||||||
|
Loading…
Reference in New Issue
Block a user