address ITS#4128; please review

This commit is contained in:
Pierangelo Masarati 2005-10-31 15:27:26 +00:00
parent 9c056f95fe
commit 217489bd90

View File

@ -767,7 +767,8 @@ static int ldif_back_add(Operation *op, SlapReply *rs) {
int statres;
char textbuf[SLAP_TEXT_BUFLEN];
slap_add_opattrs( op, &rs->sr_text, textbuf, sizeof( textbuf ), 1 );
slap_add_opattrs( op, &rs->sr_text, textbuf, sizeof( textbuf ),
op->o_bd->be_pcl_mutexp != NULL ? 1 : 0 );
rs->sr_err = entry_schema_check(op, e, NULL, 0,
&rs->sr_text, textbuf, sizeof( textbuf ) );