mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
Cleanup previous
This commit is contained in:
parent
c607ed0a6f
commit
c4ab31ddc9
@ -533,8 +533,7 @@ ldap_build_entry(
|
|||||||
|
|
||||||
next_attr:;
|
next_attr:;
|
||||||
|
|
||||||
if ( normalize ) {
|
if ( normalize && last && attr->a_desc->ad_type->sat_equality &&
|
||||||
if ( last && attr->a_desc->ad_type->sat_equality &&
|
|
||||||
attr->a_desc->ad_type->sat_equality->smr_normalize ) {
|
attr->a_desc->ad_type->sat_equality->smr_normalize ) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -551,9 +550,6 @@ next_attr:;
|
|||||||
} else {
|
} else {
|
||||||
attr->a_nvals = attr->a_vals;
|
attr->a_nvals = attr->a_vals;
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
attr->a_nvals = attr->a_vals;
|
|
||||||
}
|
|
||||||
*attrp = attr;
|
*attrp = attr;
|
||||||
attrp = &attr->a_next;
|
attrp = &attr->a_next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user