This commit is contained in:
Feng 2015-11-02 15:51:34 +08:00
parent cff4ca0296
commit ecc0f052ef
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ handle_call(info, _From, State = #client_state{connection = Connection,
ClientInfo = ?record_to_proplist(client_state, State, ?INFO_KEYS),
ProtoInfo = emqttd_protocol:info(ProtoState),
{ok, SockStats} = Connection:getstat(?SOCK_STATS),
{noreply, lists:append([ClientInfo, [{proto_info, ProtoInfo},
{reply, lists:append([ClientInfo, [{proto_info, ProtoInfo},
{sock_stats, SockStats}]]), State};
handle_call(kick, _From, State) ->