Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lanastasov committed Sep 15, 2015
1 parent 16cd139 commit bffa1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sample_ws_handler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ websocket_info(start, _ConnState, State) ->
{reply, {text, <<"erlang message received">>}, State}.

websocket_terminate(Reason, _ConnState, State) ->
io:format("Websocket closed in state ~p wih reason ~p~n",
io:format("Websocket closed in state ~p with reason ~p~n",
[State, Reason]),
ok.

0 comments on commit bffa1fb

Please sign in to comment.