diff options
Diffstat (limited to 'src/plop.erl')
-rw-r--r-- | src/plop.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plop.erl b/src/plop.erl index 42f068e..1f9ddd0 100644 --- a/src/plop.erl +++ b/src/plop.erl @@ -175,8 +175,8 @@ inclusion_and_entry(Index, TreeSize) -> {notfound, "Unknown index"}; true -> case db:get_by_index(Index) of - notfound -> - {notfound, "Unknown index"}; % FIXME: include Index + {I, _MTLHash, noentry} -> + {notfound, io:format("Unknown index ~p", [I])}; {I, _MTLHash, Entry} -> {ok, Entry, ht:path(I, TreeSize - 1)} end |