25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

* src/ejabberd_service.erl: Added logging of termination

SVN Revision: 458
This commit is contained in:
Alexey Shchepin 2005-12-10 18:42:08 +00:00
parent affa42b92b
commit ad0f691472
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2005-12-10 Alexey Shchepin <alexey@sevcom.net> 2005-12-10 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_service.erl: Added logging of termination
* src/msgs/ru.msg: Updated (thanks to Sergei Golovan) * src/msgs/ru.msg: Updated (thanks to Sergei Golovan)
* src/msgs/uk.msg: Likewise * src/msgs/uk.msg: Likewise

View File

@ -303,7 +303,8 @@ handle_info({route, From, To, Packet}, StateName, StateData) ->
%% Purpose: Shutdown the fsm %% Purpose: Shutdown the fsm
%% Returns: any %% Returns: any
%%---------------------------------------------------------------------- %%----------------------------------------------------------------------
terminate(_Reason, StateName, StateData) -> terminate(Reason, StateName, StateData) ->
?INFO_MSG("terminated: ~p", [Reason]),
case StateName of case StateName of
stream_established -> stream_established ->
lists:foreach( lists:foreach(