From: Howard Chu Date: Fri, 14 Feb 2003 09:17:42 +0000 (+0000) Subject: Fix previous commit X-Git-Tag: NO_SLAP_OP_BLOCKS~362 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c04f3e7706b740b9dc6a411ee3e9a882757dfbcd;p=openldap Fix previous commit --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index b24c940269..e5a2614754 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -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,