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
commit3dcf9e0f4022db355733f3cc1e2219c95438e2b3 (patch)
tree36f12481120cbf60c1181e436534f598aeb23638
parent0e30bd1f369d510ffb4e0e79b48c33c9109cac2d (diff)
downloadrabbitmq-server-git-3dcf9e0f4022db355733f3cc1e2219c95438e2b3.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 f96e69eb80..00b74ad010 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