diff options
author | Rob Harrop <rob@rabbitmq.com> | 2011-03-09 11:31:47 +0000 |
---|---|---|
committer | Rob Harrop <rob@rabbitmq.com> | 2011-03-09 11:31:47 +0000 |
commit | efc937c34e3984ab25a053ff240d8d8e0034f5b6 (patch) | |
tree | 7edd4c81ec2f2f1175e6954ba721fefae96ce909 /src | |
parent | b52a76575e3e7e875a8d9cababfb9247490f716c (diff) | |
download | rabbitmq-server-efc937c34e3984ab25a053ff240d8d8e0034f5b6.tar.gz |
Fixed bug in the QPid tests. My tests were passing because I used an exchange name in both add and remove calls
Diffstat (limited to 'src')
-rw-r--r-- | src/rabbit_exchange_type_topic.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_exchange_type_topic.erl b/src/rabbit_exchange_type_topic.erl index a7d36533..ffd1e583 100644 --- a/src/rabbit_exchange_type_topic.erl +++ b/src/rabbit_exchange_type_topic.erl @@ -67,7 +67,7 @@ add_binding(true, _Exchange, Binding) -> add_binding(false, _Exchange, _Binding) -> ok. -remove_bindings(true, X, Bs) -> +remove_bindings(true, #exchange{name = X}, Bs) -> %% The remove process is split into two distinct phases. In the %% first phase we gather the lists of bindings and edges to %% delete, then in the second phase we process all the |