From e3b1020e7558dff26d8c87ebb2746f197775c24f Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 16 Mar 2003 21:58:00 +0000 Subject: [PATCH] Fix typos in last commit Still chasing SLAP_NVALUES trashed filter bug --- servers/slapd/filter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/filter.c b/servers/slapd/filter.c index 2df23ce5e6..eadf4f377c 100644 --- a/servers/slapd/filter.c +++ b/servers/slapd/filter.c @@ -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 ); -- 2.39.5