To be safe (see ITS#5328), set hasSubordinates before be_has_subordinates()

This commit is contained in:
Hallvard Furuseth 2009-05-20 21:42:13 +00:00
parent 7f28d0a13d
commit 18905416c9

View File

@ -546,7 +546,7 @@ test_ava_filter(
if ( ava->aa_desc == slap_schema.si_ad_hasSubordinates
&& op && op->o_bd && op->o_bd->be_has_subordinates )
{
int hasSubordinates;
int hasSubordinates = 0;
struct berval hs;
if( type != LDAP_FILTER_EQUALITY &&