]> git.sur5r.net Git - openldap/commitdiff
FIXME: is this the intended behavior?
authorPierangelo Masarati <ando@openldap.org>
Thu, 3 Apr 2003 22:18:17 +0000 (22:18 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 3 Apr 2003 22:18:17 +0000 (22:18 +0000)
servers/slapd/schema_init.c

index b70b617a4a531780c796fe74dc2790b06b4890be..8a7334364d376c89f0656b3acf65bdfbf90422a7 100644 (file)
@@ -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 );