mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
cosmetic changes (the problem was not there)
This commit is contained in:
parent
a4a9d9df72
commit
8cfda61cb4
1 changed files with 3 additions and 3 deletions
|
|
@ -1457,11 +1457,11 @@ retry_add:;
|
|||
assert( *modlist );
|
||||
|
||||
/* Delete all the old attrs */
|
||||
for ( i=0; i<dni.attrs; i++) {
|
||||
mod = ch_malloc( sizeof(Modifications));
|
||||
for ( i = 0; i < dni.attrs; i++ ) {
|
||||
mod = ch_malloc( sizeof( Modifications ) );
|
||||
mod->sml_op = LDAP_MOD_DELETE;
|
||||
mod->sml_desc = dni.ads[i];
|
||||
mod->sml_type =mod->sml_desc->ad_cname;
|
||||
mod->sml_type = mod->sml_desc->ad_cname;
|
||||
mod->sml_values = NULL;
|
||||
mod->sml_nvalues = NULL;
|
||||
if ( !modhead ) modhead = mod;
|
||||
|
|
|
|||
Loading…
Reference in a new issue