mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-27 14:30:55 +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:
commit
a6fe7425dd
@ -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">>,
|
||||||
|
Loading…
Reference in New Issue
Block a user