Skip to content
Snippets Groups Projects
Commit bb287d66 authored by Howard Chu's avatar Howard Chu
Browse files

SLAP_NVALUES fix matchedValues

parent 5ad51b61
Branches
Tags
No related merge requests found
......@@ -235,7 +235,12 @@ test_ava_vrFilter(
}
for ( bv = a->a_vals, j=0; bv->bv_val != NULL; bv++, j++ ) {
#ifdef SLAP_NVALUES
bv = a->a_nvals;
#else
bv = a->a_vals;
#endif
for ( j=0; bv->bv_val != NULL; bv++, j++ ) {
int ret;
int rc;
const char *text;
......@@ -321,7 +326,12 @@ test_substrings_vrFilter(
continue;
}
for ( bv = a->a_vals, j = 0; bv->bv_val != NULL; bv++, j++ ) {
#ifdef SLAP_NVALUES
bv = a->a_nvals;
#else
bv = a->a_vals;
#endif
for ( j = 0; bv->bv_val != NULL; bv++, j++ ) {
int ret;
int rc;
const char *text;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment