mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Fix three value logic
This commit is contained in:
parent
903940014c
commit
323a03aa90
@ -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 New Issue
Block a user