mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-18 04:44:17 -05:00
Fix three value logic
This commit is contained in:
parent
903940014c
commit
323a03aa90
1 changed files with 5 additions and 3 deletions
|
|
@ -351,9 +351,10 @@ test_filter_and(
|
|||
int rc = test_filter( be, conn, op, e, f );
|
||||
|
||||
if ( rc == LDAP_COMPARE_FALSE ) {
|
||||
rtn = LDAP_COMPARE_FALSE;
|
||||
rtn = rc;
|
||||
break;
|
||||
}
|
||||
|
||||
if ( rc != LDAP_COMPARE_TRUE ) {
|
||||
rtn = rc;
|
||||
}
|
||||
|
|
@ -393,10 +394,11 @@ test_filter_or(
|
|||
int rc = test_filter( be, conn, op, e, f );
|
||||
|
||||
if ( rc == LDAP_COMPARE_TRUE ) {
|
||||
rtn = LDAP_COMPARE_TRUE;
|
||||
rtn = rc;
|
||||
break;
|
||||
}
|
||||
if ( rc != LDAP_COMPARE_TRUE ) {
|
||||
|
||||
if ( rc != LDAP_COMPARE_FALSE ) {
|
||||
rtn = rc;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue