summaryrefslogtreecommitdiff
path: root/src/rabbit_amqqueue_process.erl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-11-24 14:02:54 +0000
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-11-24 14:02:54 +0000
commitd5f9803e4389abb922a211e5577c1b728bef1a19 (patch)
tree9d91d83833bb29be9e6ca1bef0b0747d65d1a937 /src/rabbit_amqqueue_process.erl
parent51a2041df7647cc91ffc6ae8a84eb063279de4d9 (diff)
downloadrabbitmq-server-d5f9803e4389abb922a211e5577c1b728bef1a19.tar.gz
change order of tuple elements
Diffstat (limited to 'src/rabbit_amqqueue_process.erl')
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index bb98fe31..4672e339 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -623,7 +623,7 @@ qname(#q{q = #amqqueue{name = QName}}) -> QName.
maybe_run_queue_via_backing_queue(Fun, State = #q{backing_queue_state = BQS}) ->
{BQS2, State1} =
case Fun(BQS) of
- {BQS1, {confirm, Guids}} -> {BQS1, confirm_messages(Guids, State)};
+ {{confirm, Guids}, BQS1} -> {BQS1, confirm_messages(Guids, State)};
BQS1 -> {BQS1, State}
end,
run_message_queue(State1#q{backing_queue_state = BQS2}).