]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 1 Jan 2007 01:07:57 +0000 (01:07 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 1 Jan 2007 01:07:57 +0000 (01:07 +0000)
servers/slapd/back-bdb/cache.c

index 77b816b1e85a229f497f4206fac92ed5a3779c41..4dc03f7b7b192ebed540eb60d3741b055770eec6 100644 (file)
@@ -605,7 +605,7 @@ bdb_cache_lru_purge( struct bdb_info *bdb )
                /* If we can successfully writelock it, then
                 * the object is idle.
                 */
-               if ( bdb_cache_entry_db_lock( bdb->bi_dbenv,
+               if ( bdb_cache_entry_db_lock( bdb,
                        bdb->bi_cache.c_locker, elru, 1, 1, lockp ) == 0 ) {
 
                        /* Free entry for this node if it's present */