chore(emqx_listeners): fix type

This commit is contained in:
z8674558 2021-03-01 13:02:08 +09:00 committed by tigercl
parent c52d241a06
commit 6ea4501de4
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ ensure_all_started([L | Rest], Results) ->
ensure_all_started(Rest, NewResults). ensure_all_started(Rest, NewResults).
%% @doc Format address:port for logging. %% @doc Format address:port for logging.
-spec(format_listen_on(esockd:listen_on()) -> binary()). -spec(format_listen_on(esockd:listen_on()) -> [char()]).
format_listen_on(ListenOn) -> format(ListenOn). format_listen_on(ListenOn) -> format(ListenOn).
-spec(start_listener(listener()) -> ok). -spec(start_listener(listener()) -> ok).