]> git.sur5r.net Git - openldap/commitdiff
Use e_nname.bv_len
authorHoward Chu <hyc@openldap.org>
Mon, 24 Dec 2001 17:52:07 +0000 (17:52 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 24 Dec 2001 17:52:07 +0000 (17:52 +0000)
servers/slapd/acl.c

index cba2eb50a130ede8551717e582f70ebfcbcf5e1e..a81c8dd2bdfe206bc5c3cdf61bfb69e3def37089 100644 (file)
@@ -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) ++;