From c915ef319d63f73231202443419dcad3aa32b5f4 Mon Sep 17 00:00:00 2001
From: Magnus Ahltorp <map@kth.se>
Date: Sun, 28 Sep 2014 02:01:15 +0200
Subject: Use raw file storage

---
 src/catlfish.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/catlfish.erl b/src/catlfish.erl
index bd3c106..d105591 100644
--- a/src/catlfish.erl
+++ b/src/catlfish.erl
@@ -146,7 +146,7 @@ unpack_entry(Entry) ->
 x_entries([]) ->
     [];
 x_entries([H|T]) ->
-    [_Index, _Hash, Entry] = H,
+    {_Index, _Hash, Entry} = H,
     {Timestamp, LeafCertVector, CertChainVector} = unpack_entry(Entry),
     MTL = build_mtl(Timestamp, LeafCertVector),
     [{[{leaf_input, base64:encode(MTL)}, {extra_data, base64:encode(CertChainVector)}]} |
-- 
cgit v1.1