From ecc0f052ef9abee8fa8db10b1f302976aef0f1ac Mon Sep 17 00:00:00 2001 From: Feng Date: Mon, 2 Nov 2015 15:51:34 +0800 Subject: [PATCH] reply --- src/emqttd_client.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emqttd_client.erl b/src/emqttd_client.erl index 23c53d44b..3ad5a3728 100644 --- a/src/emqttd_client.erl +++ b/src/emqttd_client.erl @@ -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) ->