diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-10-08 16:09:43 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-10-08 16:09:43 +0100 |
commit | 325f0c2291e25bfdda468954ac9f77894a851788 (patch) | |
tree | 53aff3aae828f95dc846f5247be17193fca330d0 | |
parent | 24c8e03cdf4e8cf1455d5d098515bd61eb2c89ba (diff) | |
download | rabbitmq-server-325f0c2291e25bfdda468954ac9f77894a851788.tar.gz |
remove R14ism
-rw-r--r-- | src/rabbit_binding.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_binding.erl b/src/rabbit_binding.erl index 61a3b7f5..eabb422e 100644 --- a/src/rabbit_binding.erl +++ b/src/rabbit_binding.erl @@ -332,9 +332,9 @@ remove_for_destination(DstName, FwdDeleteFun) -> end. post_binding_removal(not_deleted, Src = #exchange{ type = Type }, Bs) -> - ok = type_to_module(Type):remove_bindings(Src, Bs); + ok = (type_to_module(Type)):remove_bindings(Src, Bs); post_binding_removal({auto_deleted, Fun}, Src = #exchange{ type = Type }, Bs) -> - ok = type_to_module(Type):delete(Src, Bs), + ok = (type_to_module(Type)):delete(Src, Bs), Fun(), ok. |