Fix previous commit

This commit is contained in:
Howard Chu 2003-02-14 09:17:42 +00:00
parent 0b6772492f
commit c04f3e7706

View file

@ -501,7 +501,7 @@ ldap_back_op_result(struct ldapconn *lc, Connection *conn, Operation *op,
int rc;
if (err == LDAP_SUCCESS) {
if (ldap_result(lc->ld, msgid, 0, NULL, &res) == -1) {
if (ldap_result(lc->ld, msgid, 1, NULL, &res) == -1) {
ldap_get_option(lc->ld, LDAP_OPT_ERROR_NUMBER, &err);
} else {
rc = ldap_parse_result(lc->ld, res, &err, &match,