diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-08-22 15:26:55 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-08-22 15:26:55 +0100 |
commit | fa41c8597266cc55ce39cd331520c94f8b3fa51b (patch) | |
tree | 4bd5c418b22008ca6dd754de0e1640c429d9ade4 /src | |
parent | 34726900bf50d13cbe3eec78af95d4dda95a1712 (diff) | |
download | rabbitmq-server-fa41c8597266cc55ce39cd331520c94f8b3fa51b.tar.gz |
cosmetic
Diffstat (limited to 'src')
-rw-r--r-- | src/file_handle_cache.erl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl index 24c4d3a8..3900ce57 100644 --- a/src/file_handle_cache.erl +++ b/src/file_handle_cache.erl @@ -538,10 +538,10 @@ get_opened_rev(RefNewOrReopens) -> {error, Error} end; close -> - [soft_close(Ref1, Handle1) || - {{Ref1, fhc_handle}, - Handle1 = #handle { hdl = Hdl1 }} <- get(), - Hdl1 =/= closed], + [soft_close(Ref, Handle) || + {{Ref, fhc_handle}, Handle = #handle { hdl = Hdl }} <- + get(), + Hdl =/= closed], get_opened_rev(RefNewOrReopens) end end. @@ -810,9 +810,9 @@ handle_call({open, Pid, Requested, EldestUnusedSince}, From, reduce(State1 #fhc_state { open_pending = pending_in(Item, Pending) })}; [#cstate { opened = Opened }] -> - true = - ets:update_element( - Clients, Pid, {#cstate.pending_closes, Opened}), + true = ets:update_element( + Clients, Pid, + {#cstate.pending_closes, Opened}), {reply, close, State1} end; false -> {noreply, run_pending_item(Item, State1)} |