From e4d45c41056b4d8712b93bc5ef043bbbdfdd9d9b Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Wed, 12 Aug 2015 00:26:28 +0800 Subject: [PATCH] TODO --- src/emqttd_protocol.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emqttd_protocol.erl b/src/emqttd_protocol.erl index b6eb96cf3..afea4017a 100644 --- a/src/emqttd_protocol.erl +++ b/src/emqttd_protocol.erl @@ -308,6 +308,7 @@ shutdown(Error, #proto_state{client_id = undefined}) -> lager:info("Protocol shutdown ~p", [Error]), ignore; +%% TODO: ClientId?? shutdown(Error, #proto_state{peername = Peername, client_id = ClientId, will_msg = WillMsg}) -> lager:info([{client, ClientId}], "Client ~s@~s: shutdown ~p", [ClientId, emqttd_net:format(Peername), Error]),