ITS#10032 Use the correct ocs field

This commit is contained in:
Ondřej Kuzník 2023-03-28 14:48:41 +01:00 committed by Quanah Gibson-Mount
parent 818e2a5455
commit 6c2164970a
2 changed files with 4 additions and 4 deletions

View file

@ -3841,8 +3841,8 @@ pc_cfadd( Operation *op, SlapReply *rs, Entry *p, ConfigArgs *ca )
/* We can only create this entry if the database is table-driven
*/
if ( cm->db.bd_info->bi_cf_ocs )
config_build_entry( op, rs, pe, ca, &bv, cm->db.bd_info->bi_cf_ocs,
if ( cm->db.be_cf_ocs )
config_build_entry( op, rs, pe, ca, &bv, cm->db.be_cf_ocs,
&pcocs[1] );
return 0;

View file

@ -176,9 +176,9 @@ translucent_cfadd( Operation *op, SlapReply *rs, Entry *e, ConfigArgs *ca )
/* We can only create this entry if the database is table-driven
*/
if ( ov->db.bd_info->bi_cf_ocs )
if ( ov->db.be_cf_ocs )
config_build_entry( op, rs, cei, ca, &bv,
ov->db.bd_info->bi_cf_ocs,
ov->db.be_cf_ocs,
&translucentocs[1] );
return 0;