summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-02-17 15:09:11 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2011-02-17 15:09:11 +0000
commita79a11b7e9821ed06c77b1da9bed56e9f4d4b0e9 (patch)
treec160d421039a19aba2fde639c75e3e50ee131153
parentce66b7c78ca2a7856324cbdcb310480f5e18e5a3 (diff)
downloadrabbitmq-server-bug23850.tar.gz
cosmeticbug23850
-rw-r--r--src/rabbit_channel.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index 2c8f1a33..4fd7e7e4 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -505,9 +505,9 @@ process_confirms(MsgSeqNos, QPid, State = #ch{unconfirmed_mq = UMQ,
lists:foldl(
fun(MsgSeqNo, {_DMs, UMQ0, _UQM} = Acc) ->
case gb_trees:lookup(MsgSeqNo, UMQ0) of
- none -> Acc;
{value, XQ} -> remove_unconfirmed(MsgSeqNo, QPid, XQ, Acc,
- State)
+ State);
+ none -> Acc
end
end, {[], UMQ, UQM}, MsgSeqNos),
{MXs, State#ch{unconfirmed_mq = UMQ1, unconfirmed_qm = UQM1}}.