diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-05-05 11:18:19 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-05-05 11:18:19 +0100 |
commit | 9cd3070bd66344ddc1dc31b5fcf4ea2461cb0805 (patch) | |
tree | 5632bfc621d8274d9c608bc3ca6fd1f19961648f /src/rabbit_binding.erl | |
parent | 18fe42a37a41ea8bc1878716077e9fe4e7c6cdea (diff) | |
download | rabbitmq-server-9cd3070bd66344ddc1dc31b5fcf4ea2461cb0805.tar.gz |
80 columns.bug23939
Diffstat (limited to 'src/rabbit_binding.erl')
-rw-r--r-- | src/rabbit_binding.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit_binding.erl b/src/rabbit_binding.erl index 1944792e..2f71bfab 100644 --- a/src/rabbit_binding.erl +++ b/src/rabbit_binding.erl @@ -156,10 +156,12 @@ add(Src, Dst, B) -> mnesia:read({rabbit_durable_route, B}) =:= []) of true -> ok = sync_route(#route{binding = B}, SrcDurable, DstDurable, fun mnesia:write/3), - ok = rabbit_exchange:callback(Src, add_binding, [transaction, Src, B]), + ok = rabbit_exchange:callback( + Src, add_binding, [transaction, Src, B]), Serial = rabbit_exchange:serial(Src), fun () -> - ok = rabbit_exchange:callback(Src, add_binding, [Serial, Src, B]), + ok = rabbit_exchange:callback( + Src, add_binding, [Serial, Src, B]), ok = rabbit_event:notify(binding_created, info(B)) end; false -> rabbit_misc:const({error, binding_not_found}) |