24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-18 22:15:20 +02:00

Merge pull request #192 from hamano/fix_ejabberd_system_monitor_error

fix ejabberd_system_monitor:s2s_out_info/1 error
This commit is contained in:
Evgeny Khramtsov 2014-05-01 10:44:49 +04:00
commit a6fe7425dd

View File

@ -244,9 +244,8 @@ s2s_out_info(Pid) ->
[<<"Process type: s2s_out">>, [<<"Process type: s2s_out">>,
case FromTo of case FromTo of
[{From, To}] -> [{From, To}] ->
<<"\n", list_to_binary(io_lib:format("\nS2S connection: from ~s to ~s",
(io_lib:format("S2S connection: from ~s to ~s", [From, To]));
[From, To]))/binary>>;
_ -> <<"">> _ -> <<"">>
end, end,
check_send_queue(Pid), <<"\n">>, check_send_queue(Pid), <<"\n">>,