Minor cleanup of prev commit

This commit is contained in:
Howard Chu 2004-11-04 03:10:03 +00:00
parent 3d23a4d2c5
commit 9ebcc83796

View File

@ -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;