diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-19 16:43:55 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-19 16:43:55 +0100 |
commit | 31d70f4398727c7ca69fc60b546f9a1ea7d84c73 (patch) | |
tree | ff8e2cc7e2c9e6231b3e940e6d9ab3daa63e62ae | |
parent | 00c399f322e2878b94dbb4e7685581f49004bf95 (diff) | |
download | rabbitmq-server-31d70f4398727c7ca69fc60b546f9a1ea7d84c73.tar.gz |
More meaningful variable name
-rw-r--r-- | src/file_handle_cache.erl | 4 |
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 |