]> git.sur5r.net Git - openldap/commitdiff
Clarify attribute comment
authorKurt Zeilenga <kurt@openldap.org>
Sat, 20 Aug 2005 06:58:22 +0000 (06:58 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 20 Aug 2005 06:58:22 +0000 (06:58 +0000)
servers/slapd/result.c

index 1593e22bb0fc9d0db62590182c1771e428d6162e..a13e45fba03c4b90c77038b6ed1d68963ab20ef3 100644 (file)
@@ -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;
                                }
                        }