From 5beeb04346872193c4cd45cac205500aadc80e43 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 20 Aug 2005 06:58:22 +0000 Subject: [PATCH] Clarify attribute comment --- servers/slapd/result.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 1593e22bb0..a13e45fba0 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -836,7 +836,7 @@ slap_send_search_entry( Operation *op, SlapReply *rs ) int finish = 0; if ( rs->sr_attrs == NULL ) { - /* all attrs request, skip operational attributes */ + /* all user attrs request, skip operational attributes */ if( is_at_operational( desc->ad_type ) ) { continue; } @@ -845,14 +845,13 @@ slap_send_search_entry( Operation *op, SlapReply *rs ) /* specific attrs requested */ if ( is_at_operational( desc->ad_type ) ) { if ( !SLAP_OPATTRS( rs->sr_attr_flags ) && - !ad_inlist( desc, rs->sr_attrs ) ) + !ad_inlist( desc, rs->sr_attrs ) ) { continue; } } else { - if ( !userattrs && !ad_inlist( desc, rs->sr_attrs ) ) - { + if ( !userattrs && !ad_inlist( desc, rs->sr_attrs ) ) { continue; } } -- 2.39.5