Fix typos in last commit

Still chasing SLAP_NVALUES trashed filter bug
This commit is contained in:
Kurt Zeilenga 2003-03-16 21:58:00 +00:00
parent 261d127281
commit e3b1020e75

View 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 );