From 640bc864fa3258deb79a702e26de0b8018a5f934 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 3 May 2002 14:23:55 +0000 Subject: [PATCH] Use specific msg id instead of ANY to retrieve search results --- servers/slapd/back-ldap/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5