diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2011-01-18 08:09:04 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-01-18 08:09:04 +0000 |
| commit | df718484b2bcf00c47782ad6ecb98620fab46528 (patch) | |
| tree | 2aa2acb67510872321f6b87b2c9c6b381dfefbb7 /src | |
| parent | 2ffd432f0dd082b9c6ae48ffc83f056df958744a (diff) | |
| download | rabbitmq-server-git-df718484b2bcf00c47782ad6ecb98620fab46528.tar.gz | |
cosmetic
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_msg_store.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit_msg_store.erl b/src/rabbit_msg_store.erl index 9d91508be1..80e319dd51 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 |
