diff options
Diffstat (limited to 'src/eldap_pool.erl')
-rw-r--r-- | src/eldap_pool.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/eldap_pool.erl b/src/eldap_pool.erl index 8e0096f86..b6421c230 100644 --- a/src/eldap_pool.erl +++ b/src/eldap_pool.erl @@ -5,7 +5,7 @@ %%% Created : 12 Nov 2006 by Evgeniy Khramtsov <xram@jabber.ru> %%% %%% -%%% ejabberd, Copyright (C) 2002-2016 ProcessOne +%%% ejabberd, Copyright (C) 2002-2019 ProcessOne %%% %%% This program is free software; you can redistribute it and/or %%% modify it under the terms of the GNU General Public License as @@ -31,7 +31,6 @@ -export([start_link/7, bind/3, search/2, modify_passwd/3]). --include("ejabberd.hrl"). -include("logger.hrl"). %%==================================================================== @@ -58,7 +57,7 @@ start_link(Name, Hosts, Backups, Port, Rootdn, Passwd, of {ok, Pid} -> pg2:join(PoolName, Pid); Err -> - ?INFO_MSG("Err = ~p", [Err]), + ?ERROR_MSG("Err = ~p", [Err]), error end end, @@ -83,4 +82,4 @@ do_request(Name, {F, Args}) -> end. make_id(Name) -> - jlib:binary_to_atom(<<"eldap_pool_", Name/binary>>). + misc:binary_to_atom(<<"eldap_pool_", Name/binary>>). |