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

index da09209d904af872197d5e4af7fc79d5666e1fb1..5d83ca441e29f61346913ba682954aa8b4763eaf 100644 (file)
@@ -400,11 +400,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 ) )