From 45679394e0eb1a3d85667b9607bae457876d23fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?= Date: Thu, 17 Jun 1999 15:05:02 +0000 Subject: [PATCH] If we are inheriting the syntax from a superior, we'd rather inherit the length too. --- servers/slapd/attr.c | 1 + 1 file changed, 1 insertion(+) 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;