]> git.pld-linux.org Git - packages/ejabberd.git/blob - ping-bug-3010.patch
9b5fa2d9c07b123975acd24e3cd615b4170f59e3
[packages/ejabberd.git] / ping-bug-3010.patch
1 From 9a8245b8e6a17b306d07cd96f2483044dd4981d2 Mon Sep 17 00:00:00 2001
2 From: Evgeny Khramtsov <ekhramtsov@process-one.net>
3 Date: Wed, 4 Sep 2019 10:31:09 +0300
4 Subject: [PATCH] Fix the regression introduced in dd57950
5
6 Fixes #3010
7 ---
8  src/mod_ping.erl | 2 --
9  1 file changed, 2 deletions(-)
10
11 diff --git a/src/mod_ping.erl b/src/mod_ping.erl
12 index d4c226e56a..8e6827247f 100644
13 --- a/src/mod_ping.erl
14 +++ b/src/mod_ping.erl
15 @@ -132,8 +132,6 @@ handle_cast(Msg, State) ->
16      ?WARNING_MSG("Unexpected cast: ~p", [Msg]),
17      {noreply, State}.
18  
19 -handle_info({iq_reply, #iq{type = error}, JID}, State) ->
20 -    handle_info({iq_reply, timeout, JID}, State);
21  handle_info({iq_reply, #iq{}, _JID}, State) ->
22      {noreply, State};
23  handle_info({iq_reply, timeout, JID}, State) ->
This page took 0.021081 seconds and 2 git commands to generate.