Commit aa2e9413 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix previous commit

parent e5ade142
......@@ -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 ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment