summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_variable_queue.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl
index 741687732d..c9aec2ffef 100644
--- a/src/rabbit_variable_queue.erl
+++ b/src/rabbit_variable_queue.erl
@@ -1086,7 +1086,7 @@ ack(MsgStoreFun, Fun, AckTags, State) ->
MsgStoreFun(MsgStore, Guids)
end, ok, GuidsByStore),
PCount1 = PCount - case dict:find(?PERSISTENT_MSG_STORE, GuidsByStore) of
- error -> 0;
+ error -> 0;
{ok, Guids} -> length(Guids)
end,
State1 #vqstate { index_state = IndexState1,