Skip to content
Snippets Groups Projects
Commit 239f8fe2 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix the fix to previous commit

parent 42dda802
No related branches found
No related tags found
No related merge requests found
......@@ -177,11 +177,7 @@ do_add( Operation *op, SlapReply *rs )
op->o_bd = frontendDB;
rc = frontendDB->be_add( op, rs );
if ( rc == 0 ) {
/* FIXME: temporary? */
assert( op->ora_e != NULL );
assert( op->o_private != NULL );
if ( op->ora_e != NULL ) {
if ( op->ora_e != NULL && op->o_private != NULL ) {
BackendDB *bd = op->o_bd;
op->o_bd = (BackendDB *)op->o_private;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment