From: Howard Chu Date: Mon, 24 Dec 2001 17:52:07 +0000 (+0000) Subject: Use e_nname.bv_len X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~541 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3b8cf825171854beed26ee7e1b8aa62e643ea490;p=openldap Use e_nname.bv_len --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index cba2eb50a1..a81c8dd2bd 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -309,7 +309,7 @@ acl_get( a = a->acl_next; } - dnlen = strlen(e->e_ndn); + dnlen = e->e_nname.bv_len; for ( ; a != NULL; a = a->acl_next ) { (*count) ++;