From 5770946f03ba669ea867b787fbd546333a8a3814 Mon Sep 17 00:00:00 2001 From: Evgeny Khramtsov Date: Mon, 23 Sep 2019 15:17:20 +0300 Subject: Correctly handle unicode in log messages --- src/mod_proxy65_stream.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mod_proxy65_stream.erl') diff --git a/src/mod_proxy65_stream.erl b/src/mod_proxy65_stream.erl index 06cefdb9f..eb100872b 100644 --- a/src/mod_proxy65_stream.erl +++ b/src/mod_proxy65_stream.erl @@ -110,8 +110,8 @@ activate({P1, J1}, {P2, J2}) -> P2 ! {activate, P1, S1, J1, J2}, JID1 = jid:encode(J1), JID2 = jid:encode(J2), - ?INFO_MSG("(~w:~w) Activated bytestream for ~s " - "-> ~s", + ?INFO_MSG("(~w:~w) Activated bytestream for ~ts " + "-> ~ts", [P1, P2, JID1, JID2]), ok; _ -> error -- cgit v1.2.3