mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Rename aux.erl as misc.erl
Thanks Microsoft Windows to not support some filenames
This commit is contained in:
parent
265aa54bc2
commit
b1acd1183f
57 changed files with 221 additions and 221 deletions
|
@ -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 "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue