From a3474e3983e2819f7d1cd9a99daafc7691a62b91 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Tue, 18 Jan 2011 08:09:04 +0000 Subject: cosmetic --- src/rabbit_msg_store.erl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rabbit_msg_store.erl b/src/rabbit_msg_store.erl index 9d91508b..80e319dd 100644 --- a/src/rabbit_msg_store.erl +++ b/src/rabbit_msg_store.erl @@ -783,9 +783,8 @@ handle_cast({write, CRef, Guid}, noreply(State); {_Mask, [#file_summary {}]} -> ok = index_update_ref_count(Guid, 1, State), - noreply(client_confirm_if_on_disk( - CRef, Guid, File, - adjust_valid_total_size(File, TotalSize, State))) + State1 = client_confirm_if_on_disk(CRef, Guid, File, State), + noreply(adjust_valid_total_size(File, TotalSize, State1)) end; {_Mask, #msg_location { ref_count = RefCount, file = File }} -> %% We already know about it, just update counter. Only -- cgit v1.2.1