From b1acd1183f1ce176a4703528d7d25b9dd3ee89f4 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Tue, 11 Apr 2017 12:13:58 +0200 Subject: Rename aux.erl as misc.erl Thanks Microsoft Windows to not support some filenames --- src/mod_proxy65_sql.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mod_proxy65_sql.erl') diff --git a/src/mod_proxy65_sql.erl b/src/mod_proxy65_sql.erl index ae6cea208..e11c5e6ac 100644 --- a/src/mod_proxy65_sql.erl +++ b/src/mod_proxy65_sql.erl @@ -50,7 +50,7 @@ init() -> end. register_stream(SID, Pid) -> - PidS = aux:encode_pid(Pid), + PidS = misc:encode_pid(Pid), NodeS = erlang:atom_to_binary(node(Pid), latin1), F = fun() -> case ejabberd_sql:sql_query_t( @@ -94,8 +94,8 @@ activate_stream(SID, IJID, MaxConnections, _Node) -> "sid=%(SID)s")) of {selected, [{TPidS, TNodeS, IPidS, INodeS, <<"">>}]} when IPidS /= <<"">> -> - try {aux:decode_pid(TPidS, TNodeS), - aux:decode_pid(IPidS, INodeS)} of + try {misc:decode_pid(TPidS, TNodeS), + misc:decode_pid(IPidS, INodeS)} of {TPid, IPid} -> case ejabberd_sql:sql_query_t( ?SQL("update proxy65 set jid_i=%(IJID)s " -- cgit v1.2.3