Fix result

This commit is contained in:
Howard Chu 2002-01-26 15:06:53 +00:00
parent d937237987
commit 80f404f247

View File

@ -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; rc = LDAP_SUCCESS;
} }
return_results:
send_ldap_result( conn, op, LDAP_SUCCESS,
NULL, text, NULL, NULL );
done: done:
/* free entry */ /* free entry */
if( e != NULL ) { if( e != NULL ) {