mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix result
This commit is contained in:
parent
d937237987
commit
80f404f247
@ -107,15 +107,14 @@ bdb_compare(
|
||||
|
||||
}
|
||||
|
||||
if( rc != LDAP_NO_SUCH_ATTRIBUTE ) {
|
||||
return_results:
|
||||
send_ldap_result( conn, op, rc,
|
||||
NULL, text, NULL, NULL );
|
||||
|
||||
if( rc == LDAP_COMPARE_FALSE || rc == LDAP_COMPARE_TRUE ) {
|
||||
rc = LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
return_results:
|
||||
send_ldap_result( conn, op, LDAP_SUCCESS,
|
||||
NULL, text, NULL, NULL );
|
||||
|
||||
done:
|
||||
/* free entry */
|
||||
if( e != NULL ) {
|
||||
|
Loading…
Reference in New Issue
Block a user