mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
fix previous commit
This commit is contained in:
parent
e5ade14256
commit
aa2e9413f1
@ -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 New Issue
Block a user