diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-04-12 13:06:57 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-04-12 13:06:57 +0100 |
commit | 0b13fab6a6e10587b73ecc88806f4a04e37f10ed (patch) | |
tree | 77f7957a03e639d676228d4fbd9336f87869d207 | |
parent | 7364c36eafecb10b1fb7503952f4169d4a5cbe38 (diff) | |
download | rabbitmq-server-0b13fab6a6e10587b73ecc88806f4a04e37f10ed.tar.gz |
tiny space saving refactor
-rw-r--r-- | src/rabbit_channel.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 0c1c11d8..0e4f3693 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -758,9 +758,7 @@ handle_method(#'basic.cancel'{consumer_tag = ConsumerTag, fun () -> {error, not_found} end, fun () -> rabbit_amqqueue:basic_cancel( - Q, self(), ConsumerTag, - ok_msg(NoWait, #'basic.cancel_ok'{ - consumer_tag = ConsumerTag})) + Q, self(), ConsumerTag, ok_msg(NoWait, OkMsg)) end) of ok -> {noreply, NewState}; |