]> git.sur5r.net Git - openldap/commitdiff
Don't set SLAPI_NENTRIES in internal_result_v3; seems to clobber it
authorLuke Howard <lukeh@openldap.org>
Tue, 1 Apr 2003 18:21:26 +0000 (18:21 +0000)
committerLuke Howard <lukeh@openldap.org>
Tue, 1 Apr 2003 18:21:26 +0000 (18:21 +0000)
(Howard, can you take a look at this?)

servers/slapd/slapi/slapi_ops.c

index c4e0d12388ad2de5df4aa2fb081c837cb7afbaa5..2aab5635e1c35385f31fec41efdd94ff3868a17e 100644 (file)
@@ -38,9 +38,13 @@ internal_result_v3(
        Operation       *op, 
        SlapReply       *rs )
 {
+#ifdef notdef
+       /* XXX needs review after internal API change */
+       /* rs->sr_nentries appears to always be 0 */
        if (op->o_tag == LDAP_REQ_SEARCH)
                slapi_pblock_set( (Slapi_PBlock *)op->o_pb,
                        SLAPI_NENTRIES, (void *)rs->sr_nentries );
+#endif
 
        return;
 }