summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-08-19 16:43:55 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-08-19 16:43:55 +0100
commit31d70f4398727c7ca69fc60b546f9a1ea7d84c73 (patch)
treeff8e2cc7e2c9e6231b3e940e6d9ab3daa63e62ae
parent00c399f322e2878b94dbb4e7685581f49004bf95 (diff)
downloadrabbitmq-server-31d70f4398727c7ca69fc60b546f9a1ea7d84c73.tar.gz
More meaningful variable name
-rw-r--r--src/file_handle_cache.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl
index 57634001..42f6115a 100644
--- a/src/file_handle_cache.erl
+++ b/src/file_handle_cache.erl
@@ -1017,10 +1017,10 @@ close(_Callbacks, _Required, []) ->
ok;
close(_Callbacks, Required, _List) when Required =< 0 ->
ok;
-close(Callbacks, Required, [{Pid, Sum} | List]) ->
+close(Callbacks, Required, [{Pid, Open} | List]) ->
{M, F, A} = dict:fetch(Pid, Callbacks),
apply(M, F, A ++ [0]),
- close(Callbacks, Required - Sum, List).
+ close(Callbacks, Required - Open, List).
ensure_mref(Pid, State = #fhc_state { counts = Counts }) ->
case dict:find(Pid, Counts) of