]> git.sur5r.net Git - openldap/commitdiff
Remove lint.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 22 Apr 2002 23:03:33 +0000 (23:03 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 22 Apr 2002 23:03:33 +0000 (23:03 +0000)
servers/slapd/acl.c

index f3433e90082af5bbc941ffc9daa91fb1caa1bef7..3b73c8d9d9a37b6b430e8172968d6063a8c46178 100644 (file)
@@ -1678,7 +1678,9 @@ aci_group_member (
 
        if (grp_oc != NULL && grp_ad != NULL ) {
                char buf[ACL_BUF_SIZE];
-               struct berval bv = { sizeof(buf), buf }, ndn;
+               struct berval bv, ndn;
+               bv.bv_len = sizeof( buf );
+               bv.bv_val = &buf;
                string_expand(&bv, &subjdn, e->e_ndn, matches);
                if ( dnNormalize2(NULL, &bv, &ndn) == LDAP_SUCCESS ) {
                        rc = (backend_group(be, conn, op, e, &ndn, &op->o_ndn, grp_oc, grp_ad) == 0);