From: Luke Howard Date: Thu, 18 Aug 2005 04:12:54 +0000 (+0000) Subject: Use be_match() instead of testing pointer equivalence X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~672 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=53a15b682016d84cdac032a9f9137ee9d68f452d;p=openldap Use be_match() instead of testing pointer equivalence --- diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 9670898f4e..48c6d9bc14 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -190,7 +190,7 @@ slapi_over_call_plugins( Slapi_PBlock *pb, int type ) PBLOCK_ASSERT_OP( pb, 0 ); op = pb->pb_op; - if ( op->o_bd != frontendDB ) { + if ( !be_match( op->o_bd, frontendDB ) ) { rc = slapi_int_call_plugins( frontendDB, type, pb ); } if ( rc >= 0 ) {