24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-26 22:35:31 +02:00

Fix logging in tests on R17

This commit is contained in:
Evgeniy Khramtsov 2016-11-21 22:04:25 +03:00
parent 3189bb3bb9
commit c0b5c6e9d4

View File

@ -480,7 +480,7 @@ decode_stream_element(NS, El) ->
format_element(El) ->
case erlang:function_exported(ct, log, 5) of
true -> ejabberd_web_admin:pretty_print_xml(El);
false -> io_lib:format(" ~s~n", El)
false -> io_lib:format("~p~n", [El])
end.
decode(El, NS, Opts) ->