diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-13 10:22:07 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-13 10:22:07 +0000 |
commit | fa6ecaf8e528b35dcd427b7017201e39ffa09c9e (patch) | |
tree | ad22af42fb528a3db2f85cdd69ceb0e0a29b705f | |
parent | f124f37d956f0352b224594bb1a9eb6c4bee756b (diff) | |
parent | f55da0d65a5851e4249ac0afee70ff200bff8aeb (diff) | |
download | rabbitmq-server-fa6ecaf8e528b35dcd427b7017201e39ffa09c9e.tar.gz |
merge bug25397 into bug25395
-rw-r--r-- | src/rabbit_variable_queue.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl index dcaaa5ed..d3147999 100644 --- a/src/rabbit_variable_queue.erl +++ b/src/rabbit_variable_queue.erl @@ -1473,8 +1473,8 @@ next({delta, Delta, [M | Rest], State}, IndexState) -> next({Key, Q, State}, IndexState) -> case ?QUEUE:out(Q) of {empty, _Q} -> next(istate(Key, State), IndexState); - {{value, MsgStatus}, QN} -> {value, MsgStatus, {Key, QN, State}, - IndexState} + {{value, MsgStatus}, QN} -> Next = {Key, QN, State}, + {value, MsgStatus, Next, IndexState} end. ifold(Fun, Acc, It, State = #vqstate{index_state = IndexState}) -> |