]> git.sur5r.net Git - openldap/commitdiff
fix previous fix
authorPierangelo Masarati <ando@openldap.org>
Thu, 22 Jul 2004 23:02:20 +0000 (23:02 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 22 Jul 2004 23:02:20 +0000 (23:02 +0000)
servers/slapd/back-ldap/search.c

index f88edeb943b1af425901ce523963590e93c72956..3e1631890b92ddcab29cc9df75c942f0d65170c8 100644 (file)
@@ -403,11 +403,9 @@ ldap_build_entry(
        dc.ctx = "searchAttrDN";
 #endif
        while ( ber_scanf( &ber, "{m", &a ) != LBER_ERROR ) {
-               int             i;
-               slap_syntax_validate_func *validate =
-                       attr->a_desc->ad_type->sat_syntax->ssyn_validate;
-               slap_syntax_transform_func *pretty =
-                       attr->a_desc->ad_type->sat_syntax->ssyn_pretty;
+               int                             i;
+               slap_syntax_validate_func       *validate;
+               slap_syntax_transform_func      *pretty;
 
                ldap_back_map( &li->rwmap.rwm_at, &a, &mapped, BACKLDAP_REMAP );
                if ( BER_BVISNULL( &mapped ) || BER_BVISEMPTY( &mapped ) )