summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-12-21 17:33:58 +0000
committerSimon MacMullen <simon@rabbitmq.com>2010-12-21 17:33:58 +0000
commit88e2c3481054633a653b360eaf1af6e48f09f48c (patch)
tree8ae0178b116850b31975a81a9be275122bef3592
parent167dcf61da001c0f5afe9576fb22c5c6c4a2b886 (diff)
downloadrabbitmq-server-88e2c3481054633a653b360eaf1af6e48f09f48c.tar.gz
Cosmetic.bug23634
-rw-r--r--src/rabbit_networking.erl9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl
index 040b81bb..86f066a4 100644
--- a/src/rabbit_networking.erl
+++ b/src/rabbit_networking.erl
@@ -245,11 +245,10 @@ start_ssl_client(SslOpts, Sock) ->
end).
connections() ->
- lists:flatten(
- [[rabbit_connection_sup:reader(ConnSup) ||
- {_, ConnSup, supervisor, _}
- <- supervisor:which_children({rabbit_tcp_client_sup, Node})]
- || Node <- mnesia:system_info(running_db_nodes)]).
+ [rabbit_connection_sup:reader(ConnSup) ||
+ Node <- mnesia:system_info(running_db_nodes),
+ {_, ConnSup, supervisor, _}
+ <- supervisor:which_children({rabbit_tcp_client_sup, Node})].
connection_info_keys() -> rabbit_reader:info_keys().