From 3b8cf825171854beed26ee7e1b8aa62e643ea490 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 24 Dec 2001 17:52:07 +0000 Subject: [PATCH] Use e_nname.bv_len --- servers/slapd/acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ++; -- 2.39.5