From: Paweł Chmielowski Date: Fri, 1 Jun 2018 16:36:39 +0000 (+0200) Subject: Fix problem in commit 548ef7b835fbf2ad965bb4bb3a6f4e4905717002 X-Git-Tag: 18.06~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67fc2015de00fc082444f671690fa3ca0c3a9e9e;p=ejabberd Fix problem in commit 548ef7b835fbf2ad965bb4bb3a6f4e4905717002 --- diff --git a/src/ejabberd_bosh.erl b/src/ejabberd_bosh.erl index 6d2971bd9..16cbcb6c1 100644 --- a/src/ejabberd_bosh.erl +++ b/src/ejabberd_bosh.erl @@ -688,7 +688,7 @@ reply_stop(State, Body, From, RID) -> {stop, normal, do_reply(State, From, Body, RID)}. drop_holding_receiver(State) -> - drop_holding_receiver(State#state.prev_rid). + drop_holding_receiver(State, State#state.prev_rid). drop_holding_receiver(State, RID) -> case gb_trees:lookup(RID, State#state.receivers) of {value, {From, Body}} ->