diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-03-21 12:27:02 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-03-21 12:27:02 +0000 |
commit | 05eb5fa6fff022148051b28c16744b82be982589 (patch) | |
tree | cd9a46f253d2eb78b970c622b08fbc9085990dcd /src/rabbit_binding.erl | |
parent | 5b5e7d0b3324a126c8b45aa33dc8d28e6046ae43 (diff) | |
download | rabbitmq-server-05eb5fa6fff022148051b28c16744b82be982589.tar.gz |
serialise_events should take an exchange really.
Diffstat (limited to 'src/rabbit_binding.erl')
-rw-r--r-- | src/rabbit_binding.erl | 2 |
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. |