diff options
author | Francesco Mazzoli <francesco@rabbitmq.com> | 2012-04-23 17:05:51 +0100 |
---|---|---|
committer | Francesco Mazzoli <francesco@rabbitmq.com> | 2012-04-23 17:05:51 +0100 |
commit | de2b67d5805aa62f2fd15befe8c328fd9f7c420f (patch) | |
tree | 235bdd0c3dcd2de677a39b2d98c66b7558564f2c | |
parent | 568e60b38c2136c0471eb556e47237a8db4917ea (diff) | |
download | rabbitmq-server-de2b67d5805aa62f2fd15befe8c328fd9f7c420f.tar.gz |
AckMsgs -> AckRequired in master:purge
-rw-r--r-- | src/rabbit_mirror_queue_master.erl | 2 |
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, |