From 239f8fe2b2db11659fb59978e235204924d5a5af Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 12 Apr 2005 17:11:30 +0000 Subject: [PATCH] fix the fix to previous commit --- servers/slapd/add.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/servers/slapd/add.c b/servers/slapd/add.c index 5154acfbc9..39c11162f7 100644 --- a/servers/slapd/add.c +++ b/servers/slapd/add.c @@ -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; -- 2.39.5