From: Kurt Zeilenga Date: Fri, 28 Feb 2003 20:00:54 +0000 (+0000) Subject: SLAP_NVALUES: fix UTF8StringNormalize X-Git-Tag: NO_SLAP_OP_BLOCKS~242 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd6657fdf02792d90cebe89717a3ad0a33a172cd;p=openldap SLAP_NVALUES: fix UTF8StringNormalize tests 0-2 now run correctly --- 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