Permalink
Browse files

Fix return type of start_phase/3.

  • Loading branch information...
1 parent a4c3a32 commit c1460f4174f933ba50ba2532c6646c52b34746f6 @archaelus archaelus committed Nov 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/monterl_carlo_websocket.erl
@@ -46,7 +46,8 @@ start_phase(listen,_Type,_Args) ->
{'_', monterl_carlo_websocket_handler, []}
]}],
- cowboy:start_http(http, 100, [{port, config(http_port)}],[{dispatch, Dispatch}]).
+ cowboy:start_http(http, 100, [{port, config(http_port)}],[{dispatch, Dispatch}]),
+ ok.
start_ok(_App, _Type, ok) -> ok;
start_ok(_App, _Type, {error, {already_started, _App}}) -> ok;

0 comments on commit c1460f4

Please sign in to comment.