fix previous commit

This commit is contained in:
Pierangelo Masarati 2004-10-07 22:31:36 +00:00
parent e5ade14256
commit aa2e9413f1

View File

@ -1903,6 +1903,7 @@ aci_set_gather( SetCookie *cookie, struct berval *name, struct berval *attr )
for ( ; ludp->lud_attrs[ nattrs ]; nattrs++ ) {
ber_str2bv( ludp->lud_attrs[ nattrs ], 0, 0, &anlist[ nattrs ].an_name );
anlist[ nattrs ].an_desc = NULL;
rc = slap_bv2ad( &anlist[ nattrs ].an_name,
&anlist[ nattrs ].an_desc, &text );
if ( rc != LDAP_SUCCESS ) {
@ -1916,6 +1917,7 @@ aci_set_gather( SetCookie *cookie, struct berval *name, struct berval *attr )
}
anlist[ nattrs ].an_name = *attr;
anlist[ nattrs ].an_desc = NULL;
rc = slap_bv2ad( &anlist[ nattrs ].an_name,
&anlist[ nattrs ].an_desc, &text );
if ( rc != LDAP_SUCCESS ) {