mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 04:29:35 -05:00
Fix filter iteration bug
This commit is contained in:
parent
66d38ab10a
commit
a67c669583
1 changed files with 3 additions and 4 deletions
|
|
@ -1162,10 +1162,9 @@ slapi_filter_list_next(
|
|||
ftype = f->f_choice;
|
||||
if ( ftype == LDAP_FILTER_AND
|
||||
|| ftype == LDAP_FILTER_OR
|
||||
|| ftype == LDAP_FILTER_NOT ) {
|
||||
if ( f->f_and == fprev ) {
|
||||
return f->f_and->f_next;
|
||||
}
|
||||
|| ftype == LDAP_FILTER_NOT )
|
||||
{
|
||||
return fprev->f_next;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue