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 | daae53c0d574a2dd30382c90447d013a07de6125 (patch) | |
| tree | 7edd4c81ec2f2f1175e6954ba721fefae96ce909 /src | |
| parent | 8f56800fb06881669ae2af781efb2384abd31755 (diff) | |
| download | rabbitmq-server-git-daae53c0d574a2dd30382c90447d013a07de6125.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 a7d36533b5..ffd1e58395 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 |
