]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/filterentry.c
Berkeley DB 4.2 support (DB 4.2 required by default)
[openldap] / servers / slapd / filterentry.c
index b8a7964fc22991c28fdc865544feb076a8e61ddf..0086b34ab0ebcbd029e6592525d09d2729f036a3 100644 (file)
@@ -218,12 +218,13 @@ static int test_mra_filter(
                        /* If ma_rule is not the same as the attribute's
                         * normal rule, then we can't use the a_nvals.
                         */
-                       if (mra->ma_rule == a->a_desc->ad_type->sat_equality)
+                       if (mra->ma_rule == a->a_desc->ad_type->sat_equality) {
                                bv = a->a_nvals;
-                       else
+                       } else {
                                bv = a->a_vals;
-                       for ( ; bv->bv_val != NULL; bv++ )
-                       {
+                       }
+
+                       for ( ; bv->bv_val != NULL; bv++ ) {
                                int ret;
                                int rc;
                                const char *text;