summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Mazzoli <francesco@rabbitmq.com>2012-04-23 17:05:51 +0100
committerFrancesco Mazzoli <francesco@rabbitmq.com>2012-04-23 17:05:51 +0100
commitde2b67d5805aa62f2fd15befe8c328fd9f7c420f (patch)
tree235bdd0c3dcd2de677a39b2d98c66b7558564f2c
parent568e60b38c2136c0471eb556e47237a8db4917ea (diff)
downloadrabbitmq-server-de2b67d5805aa62f2fd15befe8c328fd9f7c420f.tar.gz
AckMsgs -> AckRequired in master:purge
-rw-r--r--src/rabbit_mirror_queue_master.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_master.erl b/src/rabbit_mirror_queue_master.erl
index 39479b1c..4e71cc43 100644
--- a/src/rabbit_mirror_queue_master.erl
+++ b/src/rabbit_mirror_queue_master.erl
@@ -176,7 +176,7 @@ dropwhile(Pred, AckRequired,
Len = BQ:len(BQS),
{Msgs, BQS1} = BQ:dropwhile(Pred, AckRequired, BQS),
Len1 = BQ:len(BQS1),
- ok = gm:broadcast(GM, {set_length, Len1, AckMsgs}),
+ ok = gm:broadcast(GM, {set_length, Len1, AckRequired}),
Dropped = Len - Len1,
SetDelivered1 = lists:max([0, SetDelivered - Dropped]),
{Msgs, State #state { backing_queue_state = BQS1,