]> git.sur5r.net Git - openldap/commitdiff
Fix previous commit
authorHoward Chu <hyc@openldap.org>
Fri, 14 Feb 2003 09:17:42 +0000 (09:17 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 14 Feb 2003 09:17:42 +0000 (09:17 +0000)
servers/slapd/back-ldap/bind.c

index b24c9402695afa4feee8719bfe1aec8c2bc327e8..e5a26147541b166769408919b8a33ea0bc1647f2 100644 (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,