summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-01-13 12:04:19 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-01-13 12:04:19 +0000
commit3c110e1ae15e3ab85ba507af69bb740bf2a7ca73 (patch)
tree848fdb9fc1978ed3b416a5c8f50af702ba260bb9 /src
parent21cc1444fe56efb0b14d5117ad6651abed016f9f (diff)
downloadrabbitmq-server-git-3c110e1ae15e3ab85ba507af69bb740bf2a7ca73.tar.gz
Fix bug. FTR, this mistake has been there since Sept 16th 2010
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_binary_generator.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_binary_generator.erl b/src/rabbit_binary_generator.erl
index a5297a707c..e81066da8a 100644
--- a/src/rabbit_binary_generator.erl
+++ b/src/rabbit_binary_generator.erl
@@ -344,8 +344,7 @@ lookup_amqp_exception(#amqp_error{name = Name,
{ShouldClose, Code, ExplBin, Method};
lookup_amqp_exception(Other, Protocol) ->
rabbit_log:warning("Non-AMQP exit reason '~p'~n", [Other]),
- {ShouldClose, Code, Text} =
- Protocol:lookup_amqp_exception(internal_error, Protocol),
+ {ShouldClose, Code, Text} = Protocol:lookup_amqp_exception(internal_error),
{ShouldClose, Code, Text, none}.
amqp_exception_explanation(Text, Expl) ->