From: Kurt Zeilenga Date: Sat, 20 Aug 2005 06:58:22 +0000 (+0000) Subject: Clarify attribute comment X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~652 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5beeb04346872193c4cd45cac205500aadc80e43;p=openldap Clarify attribute comment --- 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; } }