From 95991161c6ad7c809bd25ac9a4cb4dcdbf6264b8 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 3 Apr 2003 22:18:17 +0000 Subject: [PATCH] FIXME: is this the intended behavior? --- servers/slapd/schema_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index b70b617a4a..8a7334364d 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -753,7 +753,7 @@ UTF8StringNormalize( flags = SLAP_MR_ASSOCIATED(mr, slap_schema.si_mr_caseExactMatch ) ? LDAP_UTF8_NOCASEFOLD : LDAP_UTF8_CASEFOLD; - flags |= ( use & SLAP_MR_EQUALITY_APPROX == SLAP_MR_EQUALITY_APPROX ) + flags |= ( ( use & SLAP_MR_EQUALITY_APPROX ) == SLAP_MR_EQUALITY_APPROX ) ? LDAP_UTF8_APPROX : 0; val = UTF8bvnormalize( val, &tmp, flags ); -- 2.39.5