mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Make dialyzer happy
This commit is contained in:
parent
03817de827
commit
bdd4e52699
@ -249,7 +249,7 @@ handle_info({route, Packet}, State) ->
|
||||
end,
|
||||
{noreply, State};
|
||||
handle_info({'DOWN', _Ref, process, Pid, _Reason}, State) ->
|
||||
case mnesia:dirty_match_object(s2s, #s2s{pid = Pid, fromto = '_'}) of
|
||||
case mnesia:dirty_match_object(s2s, {s2s, '_', Pid}) of
|
||||
[#s2s{pid = Pid, fromto = {From, To}} = Obj] ->
|
||||
F = fun() -> mnesia:delete_object(Obj) end,
|
||||
case mnesia:transaction(F) of
|
||||
|
Loading…
Reference in New Issue
Block a user