24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-09-27 14:30:55 +02:00

Do not try to call obsoleted function directly

This commit is contained in:
Evgeniy Khramtsov 2013-06-24 12:49:18 +10:00
parent 7b07c2a9b2
commit 75b8f035f7

View File

@ -100,7 +100,7 @@ eprof_stop() ->
eprof:stop_profiling(), eprof:stop_profiling(),
case erlang:function_exported(eprof, analyse, 0) of case erlang:function_exported(eprof, analyse, 0) of
true -> true ->
eprof:analyse(); apply(eprof, analyse, []);
false -> false ->
eprof:analyze() eprof:analyze()
end. end.