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:
Luke Howard 2005-08-02 16:12:09 +00:00
parent d47eaa0ecc
commit b620a0e23c

View file

@ -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] );
}
}