From: Pierangelo Masarati Date: Tue, 12 Apr 2005 17:11:30 +0000 (+0000) Subject: fix the fix to previous commit X-Git-Tag: OPENLDAP_AC_BP~915 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=239f8fe2b2db11659fb59978e235204924d5a5af;p=openldap fix the fix to previous commit --- 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;