mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
use appropriate attr list when matching value of operational attrs
This commit is contained in:
parent
24171e1fe2
commit
f1eb3e39ec
@ -928,7 +928,7 @@ send_search_entry(
|
||||
}
|
||||
e_flags = ch_calloc ( 1, i * sizeof(char *) + k );
|
||||
a_flags = (char *)(e_flags + i);
|
||||
for ( a = e->e_attrs, i=0; a != NULL; a = a->a_next, i++ ) {
|
||||
for ( a = aa, i=0; a != NULL; a = a->a_next, i++ ) {
|
||||
for ( j = 0; a->a_vals[j].bv_val != NULL; j++ );
|
||||
e_flags[i] = a_flags;
|
||||
a_flags += j;
|
||||
|
Loading…
Reference in New Issue
Block a user