25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01: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(),
case erlang:function_exported(eprof, analyse, 0) of
true ->
eprof:analyse();
apply(eprof, analyse, []);
false ->
eprof:analyze()
end.