diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-12-02 10:05:29 +0000 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-12-02 10:05:29 +0000 |
commit | 81c34eee53198874b7833aebb3dc1e95c907d284 (patch) | |
tree | c074529e79bb56836800e27814cc5ff4070645ae | |
parent | eb73d08db6c273e260a066dd77535adcd6a8784c (diff) | |
download | rabbitmq-server-bug23565.tar.gz |
fix to compile and run under R12B5bug23565
-rw-r--r-- | src/rabbit_amqqueue_process.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index 3dbd2b22..f518c561 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -488,12 +488,12 @@ attempt_delivery(#delivery{txn = none, %% we don't need an expiry here because messages are %% not being enqueued, so we use an empty %% message_properties. + BP = ?BASE_MESSAGE_PROPERTIES, {AckTag, BQS1} = BQ:publish_delivered( AckRequired, Message, - ?BASE_MESSAGE_PROPERTIES - #message_properties{ - needs_confirming = NeedsConfirming}, + BP#message_properties{ + needs_confirming = NeedsConfirming}, BQS), {{Message, false, AckTag}, true, State1#q{backing_queue_state = BQS1}} |