summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-01-17 17:35:25 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2013-01-17 17:35:25 +0000
commit769508786a368ba8e02a0a9bb640d263144f8946 (patch)
tree4ebedace50af72dc40ed6db861737059c33630cb
parent1cb0327a907729c202ef6cd5fdf91da95cd9a7b1 (diff)
downloadrabbitmq-server-git-769508786a368ba8e02a0a9bb640d263144f8946.tar.gz
cosmetic
-rw-r--r--src/rabbit_networking.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl
index 52163354b6..e864140d19 100644
--- a/src/rabbit_networking.erl
+++ b/src/rabbit_networking.erl
@@ -117,8 +117,6 @@
%%----------------------------------------------------------------------------
boot() ->
- %% This exists to disambiguate 0-x connections from 1.0 ones
- %% (since they are both children of the same supervisor).
ets:new(?CONNECTION_TABLE, [public, named_table]),
ok = start(),
ok = boot_tcp(),
@@ -301,8 +299,7 @@ connections() ->
rabbit_misc:append_rpc_all_nodes(rabbit_mnesia:cluster_nodes(running),
rabbit_networking, connections_local, []).
-connections_local() ->
- [P || {P} <- ets:tab2list(?CONNECTION_TABLE)].
+connections_local() -> [P || {P} <- ets:tab2list(?CONNECTION_TABLE)].
connection_info_keys() -> rabbit_reader:info_keys().