aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tcp_echo/src/tcp_echo_app.erl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tcp_echo/src/tcp_echo_app.erl')
-rw-r--r--examples/tcp_echo/src/tcp_echo_app.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tcp_echo/src/tcp_echo_app.erl b/examples/tcp_echo/src/tcp_echo_app.erl
index 7fac685..63cbbb4 100644
--- a/examples/tcp_echo/src/tcp_echo_app.erl
+++ b/examples/tcp_echo/src/tcp_echo_app.erl
@@ -11,7 +11,7 @@
%% API.
start(_Type, _Args) ->
- {ok, _} = ranch:start_listener(tcp_echo, 1,
+ {ok, _} = ranch:start_listener(tcp_echo,
ranch_tcp, [{port, 5555}], echo_protocol, []),
tcp_echo_sup:start_link().