From 9da9eac203e6966b3994444581c73b6aa9e18f7a Mon Sep 17 00:00:00 2001 From: Simon MacMullen Date: Mon, 20 Feb 2012 17:04:58 +0000 Subject: [PATCH] Revert accidental inclusion of bug24753. --- deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl b/deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl index dbdfa294ae..7ab74ef98f 100644 --- a/deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl +++ b/deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl @@ -92,12 +92,9 @@ handle_cast({"CONNECT", Frame, noflow}, State) -> handle_cast(Request, State = #state{channel = none, config = #stomp_configuration{ implicit_connect = true}}) -> - {noreply, State1 = #state{channel = Ch}, _} = + {noreply, State1, _} = process_connect(implicit, #stomp_frame{headers = []}, State), - case Ch of - none -> {stop, normal, State}; - _ -> handle_cast(Request, State1) - end; + handle_cast(Request, State1); handle_cast(_Request, State = #state{channel = none, config = #stomp_configuration{