From: Howard Chu Date: Fri, 3 May 2002 14:23:55 +0000 (+0000) Subject: Use specific msg id instead of ANY to retrieve search results X-Git-Tag: OPENLDAP_REL_ENG_2_MP~106 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=640bc864fa3258deb79a702e26de0b8018a5f934;p=openldap Use specific msg id instead of ANY to retrieve search results --- diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 189ea16e61..4f107a4f38 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -258,7 +258,7 @@ fail:; for ( count=0, rc=0; rc != -1; - rc = ldap_result(lc->ld, LDAP_RES_ANY, 0, &tv, &res)) + rc = ldap_result(lc->ld, msgid, 0, &tv, &res)) { /* check for abandon */ if (op->o_abandon) {