mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix filter iteration bug
This commit is contained in:
parent
66d38ab10a
commit
a67c669583
@ -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 New Issue
Block a user