summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-01-13 10:21:13 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2013-01-13 10:21:13 +0000
commitf55da0d65a5851e4249ac0afee70ff200bff8aeb (patch)
treead22af42fb528a3db2f85cdd69ceb0e0a29b705f
parent304ee315b59815ec5e20bcb8b25d31f2e6b18b84 (diff)
downloadrabbitmq-server-f55da0d65a5851e4249ac0afee70ff200bff8aeb.tar.gz
cosmetic
-rw-r--r--src/rabbit_variable_queue.erl4
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}) ->