ITS#6845 set sorted flag on newly created sorted attrs

This commit is contained in:
Howard Chu 2011-02-28 09:58:25 +00:00
parent 05b5405c5e
commit 7288804425

View File

@ -712,6 +712,7 @@ ordered_value_add(
for ( ap=&e->e_attrs; *ap; ap = &(*ap)->a_next ) ;
a = attr_alloc( ad );
*ap = a;
a->a_flags |= SLAP_ATTR_SORTED_VALS;
}
anum = a->a_numvals;