mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Tell io_lib:print to not care about line length, to avoid newlines in SQL export
This commit is contained in:
parent
3b716d2cb0
commit
8e08703833
@ -262,7 +262,7 @@ expr_to_term(Expr) ->
|
||||
Term.
|
||||
|
||||
term_to_expr(Term) ->
|
||||
list_to_binary(io_lib:print(Term)).
|
||||
list_to_binary(io_lib:print(Term, 1, 999999, -1)).
|
||||
|
||||
-spec now_to_usec(erlang:timestamp()) -> non_neg_integer().
|
||||
now_to_usec({MSec, Sec, USec}) ->
|
||||
|
Loading…
Reference in New Issue
Block a user