]> git.sur5r.net Git - openldap/commitdiff
Use be_match() instead of testing pointer equivalence
authorLuke Howard <lukeh@openldap.org>
Thu, 18 Aug 2005 04:12:54 +0000 (04:12 +0000)
committerLuke Howard <lukeh@openldap.org>
Thu, 18 Aug 2005 04:12:54 +0000 (04:12 +0000)
servers/slapd/slapi/slapi_overlay.c

index 9670898f4e26d386d651db74bde66aaabf036b2f..48c6d9bc14d0fe325edb5911acdeeaaf2308d0cc 100644 (file)
@@ -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 ) {