summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-08-02 09:19:01 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-08-02 09:19:01 +0100
commit9689eaa9cec4a31fed2c2f1457f18c236511c438 (patch)
tree36f12481120cbf60c1181e436534f598aeb23638
parentde2899d8d01654cb2ecc260085afc0af0c3707d5 (diff)
downloadrabbitmq-server-9689eaa9cec4a31fed2c2f1457f18c236511c438.tar.gz
cosmetic
-rw-r--r--src/rabbit_framing_channel.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_framing_channel.erl b/src/rabbit_framing_channel.erl
index f96e69eb..00b74ad0 100644
--- a/src/rabbit_framing_channel.erl
+++ b/src/rabbit_framing_channel.erl
@@ -74,8 +74,7 @@ read_frame(ChannelPid) ->
end.
mainloop(ChannelPid, Protocol) ->
- Decoded = read_frame(ChannelPid),
- case Decoded of
+ case read_frame(ChannelPid) of
{method, MethodName, FieldsBin} ->
Method = Protocol:decode_method_fields(MethodName, FieldsBin),
case Protocol:method_has_content(MethodName) of