summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-05-26 20:10:38 +0100
committerMatthias Radestock <matthias@lshift.net>2010-05-26 20:10:38 +0100
commitb2c0f201c5cdfb1574ee638f897e30089f880c18 (patch)
tree4ab2ce0989af11f548d135264d49d2809b0e460d
parentc9c48bf908368cbdc31531341d1e5099aae9c0d1 (diff)
downloadrabbitmq-server-b2c0f201c5cdfb1574ee638f897e30089f880c18.tar.gz
cosmetic
-rw-r--r--src/rabbit_channel.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 79cae8e0..0bc7fa09 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -855,8 +855,8 @@ handle_method(#'channel.flow'{active = false}, _,
end;
handle_method(#'channel.flow_ok'{active = Active}, _,
- State = #ch{flow = F = #flow{server = Active, client = Flow,
- pending = {_Ref, TRef}}})
+ State = #ch{flow = #flow{server = Active, client = Flow,
+ pending = {_Ref, TRef}} = F})
when Flow =:= not Active ->
{ok, cancel} = timer:cancel(TRef),
{noreply, State#ch{flow = F#flow{client = Active, pending = none}}};