From 9dcdeef319e38eb91e6d34f2f87a8f6902ff3309 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 30 Jul 2004 17:34:47 +0000 Subject: [PATCH] don't recompute userattrs --- servers/slapd/result.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5