From cd6657fdf02792d90cebe89717a3ad0a33a172cd Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 28 Feb 2003 20:00:54 +0000 Subject: [PATCH] SLAP_NVALUES: fix UTF8StringNormalize tests 0-2 now run correctly --- servers/slapd/schema_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index d28d25a61c..5cd2e04560 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -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 -- 2.39.5