From 9ebcc83796a767bbb770c1599fe84f104079623a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 4 Nov 2004 03:10:03 +0000 Subject: [PATCH] Minor cleanup of prev commit --- servers/slapd/overlays/unique.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/overlays/unique.c b/servers/slapd/overlays/unique.c index 3d6e2dca59..0f461d2de6 100644 --- a/servers/slapd/overlays/unique.c +++ b/servers/slapd/overlays/unique.c @@ -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; -- 2.39.5