diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2011-10-17 19:12:21 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-10-17 19:12:21 +0100 |
commit | f993f9cdd966b9c32d9f4476956d37e337e87126 (patch) | |
tree | 4542e545ac103cb30ef8fe7bb931a3fd4dbbe4b4 | |
parent | 264c0a372159856d5dc8d181acc6f2fc5e932110 (diff) | |
download | rabbitmq-server-f993f9cdd966b9c32d9f4476956d37e337e87126.tar.gz |
refactor: revert change to var name
-rw-r--r-- | src/rabbit_msg_store.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_msg_store.erl b/src/rabbit_msg_store.erl index 1fa349a8..c95cff1e 100644 --- a/src/rabbit_msg_store.erl +++ b/src/rabbit_msg_store.erl @@ -477,7 +477,7 @@ read(MsgId, not_found -> Defer(); MsgLocation -> client_read1(MsgLocation, Defer, CState) end; - [{MsgId, Msg, _PendingWriteCount}] -> + [{MsgId, Msg, _CacheRefCount}] -> {{ok, Msg}, CState} end. @@ -1100,7 +1100,7 @@ read_message1(From, #msg_location { msg_id = MsgId, file = File, false -> ok end, read_from_disk(MsgLoc, State); - [{MsgId, Msg1, _PendingWriteCount}] -> + [{MsgId, Msg1, _CacheRefCount}] -> {Msg1, State} end, gen_server2:reply(From, {ok, Msg}), |