From: Luke Howard Date: Tue, 1 Apr 2003 18:21:26 +0000 (+0000) Subject: Don't set SLAPI_NENTRIES in internal_result_v3; seems to clobber it X-Git-Tag: AUTOCONF_2_57~123 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c4382a2b3b87b8634dd1b378c097476cdb7c9b43;p=openldap Don't set SLAPI_NENTRIES in internal_result_v3; seems to clobber it (Howard, can you take a look at this?) --- diff --git a/servers/slapd/slapi/slapi_ops.c b/servers/slapd/slapi/slapi_ops.c index c4e0d12388..2aab5635e1 100644 --- a/servers/slapd/slapi/slapi_ops.c +++ b/servers/slapd/slapi/slapi_ops.c @@ -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; }