mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Better log bytestream termination
This commit is contained in:
parent
9021ba01ac
commit
7b8c01da12
@ -102,7 +102,7 @@ terminate(_Reason, StateName, #state{sha1 = SHA1}) ->
|
|||||||
Mod = gen_mod:ram_db_mod(global, mod_proxy65),
|
Mod = gen_mod:ram_db_mod(global, mod_proxy65),
|
||||||
Mod:unregister_stream(SHA1),
|
Mod:unregister_stream(SHA1),
|
||||||
if StateName == stream_established ->
|
if StateName == stream_established ->
|
||||||
?INFO_MSG("Bytestream terminated", []);
|
?INFO_MSG("(~w) Bytestream terminated", [self()]);
|
||||||
true -> ok
|
true -> ok
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user