fix route dump

This commit is contained in:
Ery Lee 2015-01-18 16:26:44 +08:00
parent 0b09d8a695
commit 9afa7c9787
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ start_link() ->
gen_server:start_link({local, ?SERVER}, ?MODULE, [], []). gen_server:start_link({local, ?SERVER}, ?MODULE, [], []).
route(Msg) -> route(Msg) ->
lager:info("Route message: ~s", [emqtt_message:dump(Msg)]), lager:info("Route ~s", [emqtt_message:dump(Msg)]),
% need to retain? % need to retain?
emqtt_server:retain(Msg), emqtt_server:retain(Msg),
% unset flag and pubsub % unset flag and pubsub