summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-08-12 12:34:09 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2012-08-12 12:34:09 +0100
commit7b42798d86a69a1f77958465fe9e57da136a6347 (patch)
treee347f857c3ccea66f9018805709fc746b9e76230
parenta026764f8010dd49780cf9ca4b00fd0501a4a7a8 (diff)
downloadrabbitmq-server-7b42798d86a69a1f77958465fe9e57da136a6347.tar.gz
oops; caught out by daft Erlang scoping again
-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 85c64fe6..2a8d8d9b 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -731,7 +731,7 @@ drop_expired_messages(State = #q{backing_queue_state = BQS,
end,
ensure_ttl_timer(case Props of
undefined -> undefined;
- #message_properties{expiry = Next} -> Next
+ #message_properties{expiry = Exp} -> Exp
end, State#q{backing_queue_state = BQS1}).
ensure_ttl_timer(Expiry, State = #q{backing_queue = BQ,