summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-03-08 13:35:06 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-03-08 13:35:06 +0000
commit2115f9d744d058f93556d43c21eb1a66fcdea847 (patch)
tree6ea797550544d888c14c10f33222b332dfde4b39
parentb926ae697507a7f61801613107bd90a8e1b226a9 (diff)
downloadrabbitmq-server-2115f9d744d058f93556d43c21eb1a66fcdea847.tar.gz
save another line. bonus
-rw-r--r--src/rabbit_amqqueue_process.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index 6c4c8654..cfef08a5 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -428,9 +428,8 @@ record_confirm_message(#delivery{sender = ChPid,
message = #basic_message {
is_persistent = true,
id = MsgId}},
- State =
- #q{msg_id_to_channel = MTC,
- q = #amqqueue{durable = true}}) ->
+ State = #q{q = #amqqueue{durable = true},
+ msg_id_to_channel = MTC}) ->
{eventually,
State#q{msg_id_to_channel = dict:store(MsgId, {ChPid, MsgSeqNo}, MTC)}};
record_confirm_message(_Delivery, State) ->