mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-16 03:44:58 -05:00
slapi/slapi_utils.c rev 1.172 removed the 'dup' parameter to
slapi_int_ldapmods2modifications(), but a 'dup' test remains in the function body. Should always evaluate to TRUE.
This commit is contained in:
parent
d47eaa0ecc
commit
b620a0e23c
1 changed files with 1 additions and 2 deletions
|
|
@ -2819,8 +2819,7 @@ Modifications *slapi_int_ldapmods2modifications ( LDAPMod **mods, void *memctx )
|
|||
}
|
||||
} else {
|
||||
for ( i = 0; lmod->mod_values[i] != NULL; i++ ) {
|
||||
mod->sml_values[i].bv_val = dup ? slapi_ch_strdup( lmod->mod_values[i] ) :
|
||||
lmod->mod_values[i];
|
||||
mod->sml_values[i].bv_val = slapi_ch_strdup( lmod->mod_values[i] );
|
||||
mod->sml_values[i].bv_len = strlen( lmod->mod_values[i] );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue