Skip to content

Commit f7743fd

Browse files
committed
Merge pull request jeremyong#40 from lanastasov/patch-1
fix typo
2 parents 16cd139 + bffa1fb commit f7743fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sample_ws_handler.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ websocket_info(start, _ConnState, State) ->
4242
{reply, {text, <<"erlang message received">>}, State}.
4343

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

0 commit comments

Comments
 (0)