Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit f3ad796

Browse files
Wording
1 parent 3f4b32a commit f3ad796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rabbit_web_mqtt_handler.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ websocket_init(_, Req, Opts) ->
4141
Sock = cowboy_req:get(socket, Req),
4242
case rabbit_net:connection_string(Sock, inbound) of
4343
{ok, ConnStr} ->
44-
rabbit_log:log(connection, info, "accepting WEB-MQTT connection ~p (~s)~n", [self(), ConnStr]),
44+
rabbit_log:log(connection, info, "accepting Web MQTT connection ~p (~s)~n", [self(), ConnStr]),
4545
ProcessorState = rabbit_mqtt_processor:initial_state(Sock,
4646
rabbit_mqtt_reader:ssl_login_name(Sock),
4747
fun send_reply/2),
@@ -66,7 +66,7 @@ websocket_init(_, Req, Opts) ->
6666
websocket_handle({binary, Data}, Req, State) ->
6767
handle_data(Data, Req, State);
6868
websocket_handle(Frame, Req, State) ->
69-
rabbit_log:log(connection, info, "WEB-MQTT: unexpected Websocket frame ~p~n",
69+
rabbit_log:log(connection, info, "Web MQTT: unexpected WebSocket frame ~p~n",
7070
[Frame]),
7171
{ok, Req, State, hibernate}.
7272

0 commit comments

Comments
 (0)