Fix filter iteration bug

This commit is contained in:
Luke Howard 2003-01-24 07:51:26 +00:00
parent 66d38ab10a
commit a67c669583

View File

@ -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;