Whitespace
This commit is contained in:
parent
538518045c
commit
39d06fb29d
1 changed files with 4 additions and 5 deletions
|
@ -166,9 +166,8 @@ serialize(#state{ bloom=Bloom, index_file=File, index_file_pos=Position }=State)
|
||||||
|
|
||||||
deserialize(Binary) ->
|
deserialize(Binary) ->
|
||||||
{ State, BinBloom } = erlang:binary_to_term( Binary ),
|
{ State, BinBloom } = erlang:binary_to_term( Binary ),
|
||||||
% io:format("deserializing ~p @ ~p~n", [State#state.name,
|
|
||||||
% State#state.index_file_pos]),
|
|
||||||
{ok, Bloom } = ebloom:deserialize(BinBloom),
|
{ok, Bloom } = ebloom:deserialize(BinBloom),
|
||||||
|
% io:format("deserializing ~p @ ~p // ~p~n", [State#state.name, State#state.index_file_pos, Bloom]),
|
||||||
{ok, IdxFile} = do_open(State#state.name, State#state.opts, []),
|
{ok, IdxFile} = do_open(State#state.name, State#state.opts, []),
|
||||||
State#state{ bloom = Bloom, index_file=IdxFile }.
|
State#state{ bloom = Bloom, index_file=IdxFile }.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue