From: Pierangelo Masarati Date: Thu, 3 Apr 2003 22:18:17 +0000 (+0000) Subject: FIXME: is this the intended behavior? X-Git-Tag: AUTOCONF_2_57~96 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=95991161c6ad7c809bd25ac9a4cb4dcdbf6264b8;p=openldap FIXME: is this the intended behavior? --- 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 );