From: Julio Sánchez Fernández Date: Thu, 17 Jun 1999 15:05:02 +0000 (+0000) Subject: If we are inheriting the syntax from a superior, we'd rather inherit X-Git-Tag: OPENLDAP_REL_ENG_2_BP~281 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45679394e0eb1a3d85667b9607bae457876d23fc;p=openldap If we are inheriting the syntax from a superior, we'd rather inherit the length too. --- diff --git a/servers/slapd/attr.c b/servers/slapd/attr.c index 459ce3cccc..014fe649de 100644 --- a/servers/slapd/attr.c +++ b/servers/slapd/attr.c @@ -571,6 +571,7 @@ at_add( if ( sat->sat_sup ) { if ( !sat->sat_syntax ) { sat->sat_syntax = sat->sat_sup->sat_syntax; + sat->sat_syntax_len = sat->sat_sup->sat_syntax_len; } if ( !sat->sat_equality ) { sat->sat_equality = sat->sat_sup->sat_equality;