diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2017-04-11 12:13:58 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2017-04-11 12:13:58 +0200 |
commit | b1acd1183f1ce176a4703528d7d25b9dd3ee89f4 (patch) | |
tree | 9339705c26123538d94ad1fc62011b02517e6e98 /src/mod_proxy65_sql.erl | |
parent | Use p1_utils 1.0.8 (diff) |
Rename aux.erl as misc.erl17.04
Thanks Microsoft Windows to not support some filenames
Diffstat (limited to 'src/mod_proxy65_sql.erl')
-rw-r--r-- | src/mod_proxy65_sql.erl | 6 |
1 files changed, 3 insertions, 3 deletions
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 " |