diff options
author | Evgeny Khramtsov <xramtsov@gmail.com> | 2014-05-01 10:44:49 +0400 |
---|---|---|
committer | Evgeny Khramtsov <xramtsov@gmail.com> | 2014-05-01 10:44:49 +0400 |
commit | a6fe7425dd02288722afec1add522d19c4d49fde (patch) | |
tree | 057fb3fed260b5872cbf52bc0fc9c938a1dd97b9 /src | |
parent | Merge pull request #178 from hamano/devel (diff) | |
parent | fix ejabberd_system_monitor:s2s_out_info/1 error (diff) |
Merge pull request #192 from hamano/fix_ejabberd_system_monitor_error
fix ejabberd_system_monitor:s2s_out_info/1 error
Diffstat (limited to '')
-rw-r--r-- | src/ejabberd_system_monitor.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ejabberd_system_monitor.erl b/src/ejabberd_system_monitor.erl index 011c02c4..368c5a0f 100644 --- a/src/ejabberd_system_monitor.erl +++ b/src/ejabberd_system_monitor.erl @@ -244,9 +244,8 @@ s2s_out_info(Pid) -> [<<"Process type: s2s_out">>, case FromTo of [{From, To}] -> - <<"\n", - (io_lib:format("S2S connection: from ~s to ~s", - [From, To]))/binary>>; + list_to_binary(io_lib:format("\nS2S connection: from ~s to ~s", + [From, To])); _ -> <<"">> end, check_send_queue(Pid), <<"\n">>, |