From c04f3e7706b740b9dc6a411ee3e9a882757dfbcd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 14 Feb 2003 09:17:42 +0000 Subject: [PATCH] Fix previous commit --- servers/slapd/back-ldap/bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5