mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Make dialyzer happy
This commit is contained in:
parent
03817de827
commit
bdd4e52699
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue