* 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>
* src/ejabberd_service.erl: Added logging of termination
* src/msgs/ru.msg: Updated (thanks to Sergei Golovan)
* src/msgs/uk.msg: Likewise

View File

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