]> git.sur5r.net Git - openldap/commitdiff
If we are inheriting the syntax from a superior, we'd rather inherit
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Thu, 17 Jun 1999 15:05:02 +0000 (15:05 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Thu, 17 Jun 1999 15:05:02 +0000 (15:05 +0000)
the length too.

servers/slapd/attr.c

index 459ce3cccc6ecefa9b3869086819ea288a8826f5..014fe649de39798a882c67bb4d6b0cbbb5fbcb2d 100644 (file)
@@ -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;