25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Improve value formatting

This commit is contained in:
Evgeniy Khramtsov 2018-07-09 20:32:01 +03:00
parent dc6861eb73
commit 8b9166d067

View File

@ -292,7 +292,7 @@ intersection(L1, L2) ->
format_val(I) when is_integer(I) ->
integer_to_list(I);
format_val(S) when is_binary(S) ->
S;
<<$", S/binary, $">>;
format_val(B) when is_atom(B) ->
erlang:atom_to_binary(B, utf8);
format_val(YAML) ->