diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-12-21 17:33:58 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-12-21 17:33:58 +0000 |
commit | 88e2c3481054633a653b360eaf1af6e48f09f48c (patch) | |
tree | 8ae0178b116850b31975a81a9be275122bef3592 | |
parent | 167dcf61da001c0f5afe9576fb22c5c6c4a2b886 (diff) | |
download | rabbitmq-server-88e2c3481054633a653b360eaf1af6e48f09f48c.tar.gz |
Cosmetic.bug23634
-rw-r--r-- | src/rabbit_networking.erl | 9 |
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(). |