25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01: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) -> format_element(El) ->
case erlang:function_exported(ct, log, 5) of case erlang:function_exported(ct, log, 5) of
true -> ejabberd_web_admin:pretty_print_xml(El); true -> ejabberd_web_admin:pretty_print_xml(El);
false -> io_lib:format(" ~s~n", El) false -> io_lib:format("~p~n", [El])
end. end.
decode(El, NS, Opts) -> decode(El, NS, Opts) ->