From: Jong Hyuk Choi Date: Thu, 11 Apr 2002 23:17:36 +0000 (+0000) Subject: fix: changing bdb_cache_return_entry_w() to bdb_cache_return_entry_r() X-Git-Tag: OPENLDAP_REL_ENG_2_MP~220 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=737aee17b05bba9d5b7b9c46f19483b1ae1c91fa;p=openldap fix: changing bdb_cache_return_entry_w() to bdb_cache_return_entry_r() --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index ed11d5f03c..84fc36164e 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -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);