From: Pierangelo Masarati Date: Fri, 30 Jul 2004 17:34:47 +0000 (+0000) Subject: don't recompute userattrs X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9dcdeef319e38eb91e6d34f2f87a8f6902ff3309;p=openldap don't recompute userattrs --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 579526c1f2..bedbc26a1d 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -902,8 +902,7 @@ slap_send_search_entry( Operation *op, SlapReply *rs ) } /* check for special all user attributes ("*") type */ - userattrs = ( rs->sr_attrs == NULL ) ? 1 - : an_find( rs->sr_attrs, &AllUser ); + userattrs = SLAP_USERATTRS( rs->sr_attr_flags ); /* create an array of arrays of flags. Each flag corresponds * to particular value of attribute and equals 1 if value matches