diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2010-06-07 17:16:43 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-06-07 17:16:43 +0100 |
| commit | 604c03544ffa59aef505aa93ab2bbe48d2a90c83 (patch) | |
| tree | fa5321b746fd242753082792441e7800e8617b19 | |
| parent | e7756637522586c7c12199ce4021e098c4ba0689 (diff) | |
| download | rabbitmq-server-git-604c03544ffa59aef505aa93ab2bbe48d2a90c83.tar.gz | |
cosmetic
| -rw-r--r-- | src/rabbit_channel.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 88a0a4f57c..55218531eb 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -918,11 +918,8 @@ binding_action(Fun, ExchangeNameBin, QueueNameBin, RoutingKey, Arguments, State), ExchangeName = rabbit_misc:r(VHostPath, exchange, ExchangeNameBin), check_read_permitted(ExchangeName, State), - CheckExclusive = fun (_X, Q) -> - check_exclusive_access(Q, ReaderPid) - end, case Fun(ExchangeName, QueueName, ActualRoutingKey, Arguments, - CheckExclusive) of + fun (_X, Q) -> check_exclusive_access(Q, ReaderPid) end) of {error, exchange_not_found} -> rabbit_misc:not_found(ExchangeName); {error, queue_not_found} -> |
