From 1cfa25861f1ddbb260d194cf74679ec233c14343 Mon Sep 17 00:00:00 2001 From: HuangDan Date: Thu, 20 Apr 2017 14:06:56 +0800 Subject: [PATCH] Change subscription to subscriptions --- src/emqttd_cli.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emqttd_cli.erl b/src/emqttd_cli.erl index 34995d8c8..8123fe669 100644 --- a/src/emqttd_cli.erl +++ b/src/emqttd_cli.erl @@ -548,7 +548,7 @@ print({ClientId, _ClientPid, _Persistent, SessInfo}) -> deliver_msg, enqueue_msg, created_at], - ?PRINT("Session(~s, clean_sess=~s, subscription=~w, max_inflight=~w, inflight=~w, " + ?PRINT("Session(~s, clean_sess=~s, subscriptions=~w, max_inflight=~w, inflight=~w, " "mqueue_len=~w, mqueue_dropped=~w, awaiting_rel=~w, " "deliver_msg=~w, enqueue_msg=~w, created_at=~w)~n", [ClientId | [format(Key, get_value(Key, Data)) || Key <- InfoKeys]]).