mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-27 14:30:55 +02:00
This commit is contained in:
parent
0e61e57ed9
commit
34cf693231
@ -472,7 +472,7 @@ format_arg(undefined, binary) -> <<>>;
|
|||||||
format_arg(undefined, string) -> "";
|
format_arg(undefined, string) -> "";
|
||||||
format_arg(Arg, Format) ->
|
format_arg(Arg, Format) ->
|
||||||
?ERROR_MSG("don't know how to format Arg ~p for format ~p", [Arg, Format]),
|
?ERROR_MSG("don't know how to format Arg ~p for format ~p", [Arg, Format]),
|
||||||
error.
|
throw({error_formatting_argument, Arg, Format}).
|
||||||
|
|
||||||
process_unicode_codepoints(Str) ->
|
process_unicode_codepoints(Str) ->
|
||||||
iolist_to_binary(lists:map(fun(X) when X > 255 -> unicode:characters_to_binary([X]);
|
iolist_to_binary(lists:map(fun(X) when X > 255 -> unicode:characters_to_binary([X]);
|
||||||
|
Loading…
Reference in New Issue
Block a user