summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-01-18 08:09:04 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2011-01-18 08:09:04 +0000
commita3474e3983e2819f7d1cd9a99daafc7691a62b91 (patch)
tree2aa2acb67510872321f6b87b2c9c6b381dfefbb7
parent33e462fbe145e829bb443c06e805f3e530b05307 (diff)
downloadrabbitmq-server-bug23631.tar.gz
cosmeticbug23631
-rw-r--r--src/rabbit_msg_store.erl5
1 files 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