Permalink
Browse files

Improve the listener name in the README

  • Loading branch information...
1 parent b650ef8 commit 7482c0de754337cab03dae6a91cb2a59a15a3012 Loïc Hoguin committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -79,7 +79,7 @@ Dispatch = [
{'_', [{'_', my_handler, []}]}
],
%% Name, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts
-cowboy:start_listener(http, 100,
+cowboy:start_listener(my_http_listener, 100,
cowboy_tcp_transport, [{port, 8080}],
cowboy_http_protocol, [{dispatch, Dispatch}]
).

0 comments on commit 7482c0d

Please sign in to comment.