Commit ab75cb6e authored by Howard Chu's avatar Howard Chu
Browse files

Fix prev commit, broke extended filters

parent f9e19694
...@@ -146,7 +146,6 @@ bdb_filter_candidates( ...@@ -146,7 +146,6 @@ bdb_filter_candidates(
{ struct bdb_info *bdb = (struct bdb_info *) be->be_private; { struct bdb_info *bdb = (struct bdb_info *) be->be_private;
BDB_IDL_ALL( bdb, ids ); BDB_IDL_ALL( bdb, ids );
} }
break; break;
case LDAP_FILTER_AND: case LDAP_FILTER_AND:
...@@ -176,6 +175,10 @@ bdb_filter_candidates( ...@@ -176,6 +175,10 @@ bdb_filter_candidates(
Debug( LDAP_DEBUG_FILTER, "\tUNKNOWN %lu\n", Debug( LDAP_DEBUG_FILTER, "\tUNKNOWN %lu\n",
(unsigned long) f->f_choice, 0, 0 ); (unsigned long) f->f_choice, 0, 0 );
#endif #endif
/* Must not return NULL, otherwise extended filters break */
{ struct bdb_info *bdb = (struct bdb_info *) be->be_private;
BDB_IDL_ALL( bdb, ids );
}
} }
#ifdef NEW_LOGGING #ifdef NEW_LOGGING
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment