]> git.sur5r.net Git - openldap/commitdiff
Fix typos in last commit
authorKurt Zeilenga <kurt@openldap.org>
Sun, 16 Mar 2003 21:58:00 +0000 (21:58 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 16 Mar 2003 21:58:00 +0000 (21:58 +0000)
Still chasing SLAP_NVALUES trashed filter bug

servers/slapd/filter.c

index 2df23ce5e663d6c8e7d07429b5a2fe812670ec66..eadf4f377c3b5072fcc092d1b5a3c4c96386b2d9 100644 (file)
@@ -435,7 +435,7 @@ get_substring_filter(
 #ifdef SLAP_NVALUES
                /* validate/normalize using equality matching rule validator! */
                rc = asserted_value_validate_normalize(
-                       f->f_sub_desc, f->f_sub_desc->ad_type->sat_equality,
+                       ssa.sa_desc, ssa.sa_desc->ad_type->sat_equality,
                        usage, &value, &nvalue, text );
 
                if( rc != LDAP_SUCCESS ) {
@@ -444,14 +444,14 @@ get_substring_filter(
                }
 #else
                /* validate using equality matching rule validator! */
-               rc = value_validate( f->f_sub_desc->ad_type->sat_equality,
+               rc = value_validate( ssa.sa_desc->ad_type->sat_equality,
                        &value, text );
                if( rc != LDAP_SUCCESS ) {
                        free( value.bv_val );
                        goto return_error;
                }
 
-               rc = value_normalize( f->f_sub_desc, usage,
+               rc = value_normalize( ssa.sa_desc, usage,
                        &value, &nvalue, text );
 
                free( value.bv_val );