From 246e891d01f41a5cb11857bed04611dbc44b7fc4 Mon Sep 17 00:00:00 2001 From: Gregory Burd Date: Sat, 23 Jun 2012 16:06:49 +0100 Subject: [PATCH] WIP: another bug --- src/hanoidb_reader.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hanoidb_reader.erl b/src/hanoidb_reader.erl index d8600a0..0cba863 100644 --- a/src/hanoidb_reader.erl +++ b/src/hanoidb_reader.erl @@ -81,7 +81,7 @@ open(Name, Config) -> {ok, <>} = file:pread(File, FileInfo#file_info.size - 12, 4), {ok, BloomData} = file:pread(File, (FileInfo#file_info.size - 12 - BloomSize), BloomSize), - {ok, Bloom} = hanoidb_util:decode_bloom(BloomData), + Bloom = hanoidb_util:decode_bloom(BloomData), %% suck in the root {ok, Root} = read_node(File, RootPos),