summaryrefslogtreecommitdiff
path: root/src/rabbit_binding.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-03-29 10:31:34 +0100
committerSimon MacMullen <simon@rabbitmq.com>2011-03-29 10:31:34 +0100
commite876d31d003d2a234e9848101ef1545720e25a4e (patch)
treefa74a3b6c998678d3d822814161b4b394264bdbc /src/rabbit_binding.erl
parent1847c3874b081de80ac50225cedd08dca92d0d14 (diff)
downloadrabbitmq-server-e876d31d003d2a234e9848101ef1545720e25a4e.tar.gz
Fix Matthias' deliberate mistake.
Diffstat (limited to 'src/rabbit_binding.erl')
-rw-r--r--src/rabbit_binding.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_binding.erl b/src/rabbit_binding.erl
index 3bf8e6a9..54fa1a63 100644
--- a/src/rabbit_binding.erl
+++ b/src/rabbit_binding.erl
@@ -412,7 +412,7 @@ process_deletions(Deletions) ->
FlatBindings = lists:flatten(Bindings),
pd_callback(transaction, X, Deleted, FlatBindings),
dict:store(XName, rabbit_exchange:serial(X), Acc)
- end, Deletions, dict:new()),
+ end, dict:new(), Deletions),
fun() ->
dict:fold(
fun (XName, {X, Deleted, Bindings}, ok) ->
@@ -426,7 +426,7 @@ process_deletions(Deletions) ->
exchange_deleted, [{name, XName}]);
_ -> ok
end
- end, Deletions, ok)
+ end, ok, Deletions)
end.
pd_callback(Arg, X, Deleted, Bindings) ->