]> git.sur5r.net Git - openldap/commitdiff
ITS#3841 fix test in rev 1.220
authorHoward Chu <hyc@openldap.org>
Fri, 15 Jul 2005 01:17:35 +0000 (01:17 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 15 Jul 2005 01:17:35 +0000 (01:17 +0000)
servers/slapd/back-bdb/init.c

index 37ca981c3a534b033ed32a522aced7e0856489cb..99f6f33eaa372750864f08d8f980743d24e12566 100644 (file)
@@ -546,7 +546,7 @@ bdb_db_close( BackendDB *be )
        bdb_idl_cache_entry_t *entry, *next_entry;
 
        /* backend_shutdown closes everything, even if not all were opened */
-       if ( !bdb->bi_flags & BDB_IS_OPEN )
+       if ( !( bdb->bi_flags & BDB_IS_OPEN ))
                return 0;
 
        bdb->bi_flags &= ~BDB_IS_OPEN;