mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
fix in slap_entry2mods()
This commit is contained in:
parent
3868f3b5a7
commit
c83f1812ef
@ -624,15 +624,14 @@ slap_entry2mods(
|
||||
mod->sml_nvalues[count].bv_val = 0;
|
||||
mod->sml_nvalues[count].bv_len = 0;
|
||||
|
||||
mod->sml_desc = NULL;
|
||||
slap_bv2ad(&mod->sml_type, &mod->sml_desc, text);
|
||||
mod->sml_desc = a_new_desc;
|
||||
mod->sml_next =NULL;
|
||||
*modtail = mod;
|
||||
modtail = &mod->sml_next;
|
||||
a_new = a_new->a_next;
|
||||
}
|
||||
|
||||
mods = &modhead;
|
||||
*mods = modhead;
|
||||
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user