]> git.sur5r.net Git - openldap/commitdiff
fix: changing bdb_cache_return_entry_w() to bdb_cache_return_entry_r()
authorJong Hyuk Choi <jongchoi@openldap.org>
Thu, 11 Apr 2002 23:17:36 +0000 (23:17 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Thu, 11 Apr 2002 23:17:36 +0000 (23:17 +0000)
servers/slapd/back-bdb/search.c

index ed11d5f03c0f2a045c8778b0533d82d0f5ebc9be..84fc36164e262c88017588db28514282d9a874d6 100644 (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);