From f3b61d87b73642e29f62641966d3008071ddc786 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 5 Jan 2002 09:58:19 +0000 Subject: [PATCH] fix BVarray --- servers/slapd/acl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index c3b9eb14d6..5fd5d7f428 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -888,9 +888,9 @@ acl_mask( * rights are determined by OR'ing the individual * rights given by the acis. */ - for ( i = 0; at->a_vals[i] != NULL; i++ ) { + for ( i = 0; at->a_vals[i].bv_val != NULL; i++ ) { if (aci_mask( be, conn, op, - e, desc, val, at->a_vals[i], + e, desc, val, &at->a_vals[i], matches, &grant, &deny ) != 0) { tgrant |= grant; -- 2.39.5