summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index f4254aa61a..e90cddb9fa 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -869,9 +869,9 @@ binding_action(Fun, ExchangeNameBin, QueueNameBin, RoutingKey, Arguments,
ExchangeName = rabbit_misc:r(VHostPath, exchange, ExchangeNameBin),
check_read_permitted(ExchangeName, State),
CheckExclusive =
- fun(_X, Q) ->
+ fun (_X, Q) ->
with_exclusive_access_or_die(Q#amqqueue.name,
- ReaderPid, fun(_Q1)-> ok end)
+ ReaderPid, fun (_Q1)-> ok end)
end,
case Fun(ExchangeName, QueueName, ActualRoutingKey, Arguments,
CheckExclusive) of