SLAP_NVALUES: fix UTF8StringNormalize

tests 0-2 now run correctly
This commit is contained in:
Kurt Zeilenga 2003-02-28 20:00:54 +00:00
parent 64b621620b
commit cd6657fdf0

View File

@ -743,7 +743,7 @@ UTF8StringNormalize(
}
flags = SLAP_MR_ASSOCIATED(mr, slap_schema.si_mr_caseExactMatch )
? LDAP_UTF8_CASEFOLD : LDAP_UTF8_NOCASEFOLD;
? LDAP_UTF8_NOCASEFOLD : LDAP_UTF8_CASEFOLD;
flags |= ( use & SLAP_MR_EQUALITY_APPROX == SLAP_MR_EQUALITY_APPROX )
? LDAP_UTF8_APPROX : 0;
@ -783,6 +783,7 @@ UTF8StringNormalize(
nvalue.bv_len = 1;
}
*normalized = nvalue;
return LDAP_SUCCESS;
}
#else