mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-23 23:33:07 -05:00
SLAP_NVALUES fix matchedValues
This commit is contained in:
parent
5ad51b6150
commit
bb287d666b
1 changed files with 12 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue