mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
backport hasSubordinate filter type assertion fix
This commit is contained in:
parent
cb4dd1a14f
commit
3a47fd1f9c
1 changed files with 2 additions and 4 deletions
|
|
@ -463,10 +463,8 @@ test_ava_filter(
|
|||
int hasSubordinates;
|
||||
struct berval hs;
|
||||
|
||||
/*
|
||||
* No other match should be allowed ...
|
||||
*/
|
||||
assert( type == LDAP_FILTER_EQUALITY );
|
||||
/* No other match is supported */
|
||||
if( type != LDAP_FILTER_EQUALITY ) return LDAP_OTHER;
|
||||
|
||||
if ( op->o_bd->be_has_subordinates( op, e, &hasSubordinates ) !=
|
||||
LDAP_SUCCESS )
|
||||
|
|
|
|||
Loading…
Reference in a new issue