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:
parent
dc6861eb73
commit
8b9166d067
@ -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) ->
|
||||
|
Loading…
Reference in New Issue
Block a user