]> git.sur5r.net Git - openldap/commitdiff
Use specific msg id instead of ANY to retrieve search results
authorHoward Chu <hyc@openldap.org>
Fri, 3 May 2002 14:23:55 +0000 (14:23 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 3 May 2002 14:23:55 +0000 (14:23 +0000)
servers/slapd/back-ldap/search.c

index 189ea16e61f3458af54f09e501c27a0ba12acab9..4f107a4f38f9cc23d401e755954522865753ee99 100644 (file)
@@ -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) {