summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 080002883a..e408f0bfd9 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -1414,6 +1414,8 @@ send_nacks(MXs, State = #ch{tx_status = none}) ->
send_nacks(_, State) ->
maybe_complete_tx(State#ch{tx_status = failed}).
+send_confirms(State = #ch{tx_status = none, confirmed = []}) ->
+ State;
send_confirms(State = #ch{tx_status = none, confirmed = C}) ->
{MsgSeqNos, State1} =
lists:foldl(fun ({MsgSeqNo, ExchangeName}, {MSNs, State0}) ->