fix: changing bdb_cache_return_entry_w() to bdb_cache_return_entry_r()

This commit is contained in:
Jong Hyuk Choi 2002-04-11 23:17:36 +00:00
parent 17433a8412
commit 737aee17b0

View file

@ -90,7 +90,7 @@ bdb_search(
break;
default:
if (e != NULL) {
bdb_cache_return_entry_w(&bdb->bi_cache, e);
bdb_cache_return_entry_r(&bdb->bi_cache, e);
}
if (matched != NULL) {
bdb_cache_return_entry_r(&bdb->bi_cache, matched);