summaryrefslogtreecommitdiff
path: root/src/ejabberd_redis.erl
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2017-04-11 12:13:58 +0200
committerChristophe Romain <christophe.romain@process-one.net>2017-04-11 12:13:58 +0200
commitb1acd1183f1ce176a4703528d7d25b9dd3ee89f4 (patch)
tree9339705c26123538d94ad1fc62011b02517e6e98 /src/ejabberd_redis.erl
parentUse p1_utils 1.0.8 (diff)
Rename aux.erl as misc.erl
Thanks Microsoft Windows to not support some filenames
Diffstat (limited to 'src/ejabberd_redis.erl')
-rw-r--r--src/ejabberd_redis.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ejabberd_redis.erl b/src/ejabberd_redis.erl
index 905fe62c..e7cc74d9 100644
--- a/src/ejabberd_redis.erl
+++ b/src/ejabberd_redis.erl
@@ -68,12 +68,12 @@ start_link(I) ->
?GEN_SERVER:start_link({local, get_proc(I)}, ?MODULE, [I], []).
get_proc(I) ->
- aux:binary_to_atom(
+ misc:binary_to_atom(
iolist_to_binary(
[atom_to_list(?MODULE), $_, integer_to_list(I)])).
get_connection(I) ->
- aux:binary_to_atom(
+ misc:binary_to_atom(
iolist_to_binary(
[atom_to_list(?MODULE), "_connection_", integer_to_list(I)])).
@@ -109,7 +109,7 @@ multi(F) ->
-spec format_error(atom() | binary()) -> binary().
format_error(Reason) when is_atom(Reason) ->
- format_error(aux:atom_to_binary(Reason));
+ format_error(misc:atom_to_binary(Reason));
format_error(Reason) ->
Reason.