mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
fix previous commit
This commit is contained in:
parent
e5ade14256
commit
aa2e9413f1
1 changed files with 2 additions and 0 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue