summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2023-04-26 09:52:29 +0400
committerMichael Klishin <michael@clojurewerkz.org>2023-04-26 09:52:41 +0400
commitf1834f315f71bfde368f3a4230d2fc27d9c91954 (patch)
tree3b863950f247b05a00d04a9bcd0692caafdfd21e
parent425b51c27d5afeca19fa909c287596df05d16fc1 (diff)
downloadrabbitmq-server-git-f1834f315f71bfde368f3a4230d2fc27d9c91954.tar.gz
Don't use fully-qualified calls in the module itself
-rw-r--r--deps/rabbit/src/rabbit_networking.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/rabbit/src/rabbit_networking.erl b/deps/rabbit/src/rabbit_networking.erl
index 35711faf75..e293dc92f4 100644
--- a/deps/rabbit/src/rabbit_networking.erl
+++ b/deps/rabbit/src/rabbit_networking.erl
@@ -262,7 +262,7 @@ listener_of_protocol(Protocol) ->
-spec stop_ranch_listener_of_protocol(atom()) -> ok | {error, not_found}.
stop_ranch_listener_of_protocol(Protocol) ->
- case rabbit_networking:ranch_ref_of_protocol(Protocol) of
+ case ranch_ref_of_protocol(Protocol) of
undefined -> ok;
Ref ->
rabbit_log:debug("Stopping Ranch listener for protocol ~ts", [Protocol]),
@@ -523,7 +523,7 @@ emit_connection_info_all(Nodes, Items, Ref, AggregatorPid) ->
emit_connection_info_local(Items, Ref, AggregatorPid) ->
rabbit_control_misc:emitting_map_with_exit_handler(
AggregatorPid, Ref, fun(Q) -> connection_info(Q, Items) end,
- connections_local() ++ rabbit_networking:local_non_amqp_connections()).
+ connections_local() ++ local_non_amqp_connections()).
-spec close_connection(pid(), string()) -> 'ok'.