mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix computed filter inversion
This commit is contained in:
parent
4abff760a0
commit
b7fd633e8a
1 changed files with 2 additions and 2 deletions
|
|
@ -252,12 +252,12 @@ get_filter(
|
|||
|
||||
assert( f.f_not != NULL );
|
||||
if ( f.f_not->f_choice == SLAPD_FILTER_COMPUTED ) {
|
||||
int fresult = f.f_not->f_result;
|
||||
f.f_choice = SLAPD_FILTER_COMPUTED;
|
||||
f.f_result = f.f_not->f_result;
|
||||
op->o_tmpfree( f.f_not, op->o_tmpmemctx );
|
||||
f.f_not = NULL;
|
||||
|
||||
switch( f.f_result ) {
|
||||
switch( fresult ) {
|
||||
case LDAP_COMPARE_TRUE:
|
||||
f.f_result = LDAP_COMPARE_FALSE;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue