From c4382a2b3b87b8634dd1b378c097476cdb7c9b43 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Tue, 1 Apr 2003 18:21:26 +0000 Subject: [PATCH] Don't set SLAPI_NENTRIES in internal_result_v3; seems to clobber it (Howard, can you take a look at this?) --- servers/slapd/slapi/slapi_ops.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.39.5