diff --git a/servers/slapd/slapi/slapi_ops.c b/servers/slapd/slapi/slapi_ops.c index 7c1124fdcd..e93511460f 100644 --- a/servers/slapd/slapi/slapi_ops.c +++ b/servers/slapd/slapi/slapi_ops.c @@ -40,7 +40,7 @@ internal_result_v3( { if (op->o_tag == LDAP_REQ_SEARCH) slapi_pblock_set( (Slapi_PBlock *)op->o_pb, - SLAPI_NENTRIES, (void *)sr->sr_nentries ); + SLAPI_NENTRIES, (void *)rs->sr_nentries ); return; }