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

Commit 8f8c5f5

Browse files
Drive by cosmetic changes
1 parent 7e2eaa8 commit 8f8c5f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rabbit_web_mqtt_handler.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ websocket_info({'EXIT', _, _}, State) ->
115115
{stop, State};
116116
websocket_info({'$gen_cast', duplicate_id}, State = #state{ proc_state = ProcState,
117117
conn_name = ConnName }) ->
118-
rabbit_log_connection:warning("WEB-MQTT disconnecting duplicate client id ~p (~p)~n",
118+
rabbit_log_connection:warning("Web MQTT disconnecting duplicate client id ~p (~p)~n",
119119
[rabbit_mqtt_processor:info(client_id, ProcState), ConnName]),
120120
{stop, State};
121121
websocket_info({start_keepalives, Keepalive},
@@ -129,20 +129,20 @@ websocket_info({start_keepalives, Keepalive},
129129
{ok, State #state { keepalive = Heartbeater }, hibernate};
130130
websocket_info(keepalive_timeout, State = #state {conn_name = ConnStr,
131131
proc_state = PState}) ->
132-
rabbit_log_connection:error("closing WEB-MQTT connection ~p (keepalive timeout)~n", [ConnStr]),
132+
rabbit_log_connection:error("closing Web MQTT connection ~p (keepalive timeout)~n", [ConnStr]),
133133
rabbit_mqtt_processor:send_will(PState),
134134
{stop, State};
135135
websocket_info(emit_stats, State) ->
136136
{ok, emit_stats(State), hibernate};
137137
websocket_info(Msg, State) ->
138-
rabbit_log_connection:info("WEB-MQTT: unexpected message ~p~n",
138+
rabbit_log_connection:info("Web MQTT: unexpected message ~p~n",
139139
[Msg]),
140140
{ok, State, hibernate}.
141141

142142
terminate(_, _, State = #state{ proc_state = ProcState,
143143
conn_name = ConnName }) ->
144144
maybe_emit_stats(State),
145-
rabbit_log_connection:info("closing WEB-MQTT connection ~p (~s)~n", [self(), ConnName]),
145+
rabbit_log_connection:info("closing Web MQTT connection ~p (~s)~n", [self(), ConnName]),
146146
rabbit_mqtt_processor:close_connection(ProcState),
147147
ok;
148148
terminate(_, _, State) ->

0 commit comments

Comments
 (0)