summaryrefslogtreecommitdiff
path: root/src/rabbit_binding.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-03-21 12:27:02 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-03-21 12:27:02 +0000
commit05eb5fa6fff022148051b28c16744b82be982589 (patch)
treecd9a46f253d2eb78b970c622b08fbc9085990dcd /src/rabbit_binding.erl
parent5b5e7d0b3324a126c8b45aa33dc8d28e6046ae43 (diff)
downloadrabbitmq-server-05eb5fa6fff022148051b28c16744b82be982589.tar.gz
serialise_events should take an exchange really.
Diffstat (limited to 'src/rabbit_binding.erl')
-rw-r--r--src/rabbit_binding.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_binding.erl b/src/rabbit_binding.erl
index d2767d15..d363e342 100644
--- a/src/rabbit_binding.erl
+++ b/src/rabbit_binding.erl
@@ -449,7 +449,7 @@ pd_callback(Arg, CB, X, Bindings) ->
ok = rabbit_exchange:callback(X, CB, [Arg, X, Bindings]).
serial(X) ->
- case rabbit_exchange:callback(X, serialise_events, []) of
+ case rabbit_exchange:callback(X, serialise_events, [X]) of
true -> next_serial(X);
false -> none
end.