summaryrefslogtreecommitdiff
path: root/src/plop.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/plop.erl')
-rw-r--r--src/plop.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plop.erl b/src/plop.erl
index c93b26d..30d05ca 100644
--- a/src/plop.erl
+++ b/src/plop.erl
@@ -146,7 +146,7 @@ handle_call({get, logid}, _From,
{reply, LogID, Plop};
handle_call({add, {LogEntry, TreeLeafHash, EntryHash}}, _From, Plop) ->
- {atomic, ok} = db:add(TreeLeafHash, EntryHash, LogEntry, ht:size()),
+ ok = db:add(TreeLeafHash, EntryHash, LogEntry, ht:size()),
ok = ht:add(TreeLeafHash),
{reply, ok, Plop};