better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)

This commit is contained in:
Pierangelo Masarati 2005-11-18 00:20:01 +00:00
parent 2707ba1ddf
commit aac978d8f9
2 changed files with 2 additions and 2 deletions

View file

@ -830,7 +830,7 @@ static int ldif_back_modify(Operation *op, SlapReply *rs) {
int spew_res;
if ( !SLAP_SHADOW( op->o_bd ))
slap_mods_opattrs( op, op->orm_modlist, 1 );
slap_mods_opattrs( op, &op->orm_modlist, 1 );
ldap_pvt_thread_mutex_lock(&ni->li_mutex);
dn2path(&op->o_req_ndn, &op->o_bd->be_nsuffix[0], &ni->li_base_path,

View file

@ -503,7 +503,7 @@ slap_modrdn2mods(
done:
if ( rs->sr_err == LDAP_SUCCESS && !repl_user ) {
slap_mods_opattrs( op, mod, 1 );
slap_mods_opattrs( op, &mod, 1 );
}
/* LDAP v2 supporting correct attribute handling. */