aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-05-10 16:14:04 +0200
committerBadlop <badlop@process-one.net>2021-05-14 16:06:39 +0200
commit8e08703833954947e4391f63560fb278df2794a2 (patch)
treed1265fa962d74143251b4f90193e9fb5468d6ff2
parentUpdate econf:vcard() to generate correct vcard_temp record (diff)
Tell io_lib:print to not care about line length, to avoid newlines in SQL export
-rw-r--r--src/misc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.erl b/src/misc.erl
index d34932f7a..474fad615 100644
--- a/src/misc.erl
+++ b/src/misc.erl
@@ -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}) ->