From: Kurt Zeilenga Date: Mon, 22 Apr 2002 23:03:33 +0000 (+0000) Subject: Remove lint. X-Git-Tag: OPENLDAP_REL_ENG_2_MP~151 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e3911247b9f56bf40cbbc1241dcc79d995725e1;p=openldap Remove lint. --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index f3433e9008..3b73c8d9d9 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -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);