mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 15:41:24 -05:00
Minor cleanup of prev commit
This commit is contained in:
parent
3d23a4d2c5
commit
9ebcc83796
1 changed files with 2 additions and 2 deletions
|
|
@ -267,9 +267,9 @@ static int count_filter_len(
|
|||
if(!up) break;
|
||||
}
|
||||
if(b && b[0].bv_val) for(i = 0; b[i].bv_val; i++)
|
||||
ks += b[i].bv_len + ad->ad_cname.bv_len + 3;
|
||||
ks += b[i].bv_len + ad->ad_cname.bv_len + STRLENOF( "(=)" );
|
||||
else if(ud->strict)
|
||||
ks += ad->ad_cname.bv_len + 4; /* (attr=*) */
|
||||
ks += ad->ad_cname.bv_len + STRLENOF( "(=*)" ); /* (attr=*) */
|
||||
break;
|
||||
}
|
||||
return ks;
|
||||
|
|
|
|||
Loading…
Reference in a new issue