Fix badmatch error in the batch_process of session

This commit is contained in:
HeeeJianBo 2019-03-21 16:56:03 +08:00 committed by turtleDeng
parent 36927f01e7
commit 998684fc4e
1 changed files with 2 additions and 2 deletions

View File

@ -390,7 +390,7 @@ deliver_fun(ConnPid) when node(ConnPid) == node() ->
deliver_fun(ConnPid) -> deliver_fun(ConnPid) ->
Node = node(ConnPid), Node = node(ConnPid),
fun(Packet) -> fun(Packet) ->
emqx_rpc:cast(Node, erlang, send, [ConnPid, {deliver, Packet}]) true = emqx_rpc:cast(Node, erlang, send, [ConnPid, {deliver, Packet}]), ok
end. end.
handle_call(info, _From, State) -> handle_call(info, _From, State) ->