summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2013-04-03 21:25:38 +0000
committerGordon Sim <gsim@apache.org>2013-04-03 21:25:38 +0000
commit6069ec423f23dfa8d7a5b8f5d61cb059fe94fd5d (patch)
tree64a6aed67cf834e0264786cb19012d7ea53b1ac2 /cpp
parentace4f7b620d740a8052e5c2c2156a888065cf656 (diff)
downloadqpid-python-6069ec423f23dfa8d7a5b8f5d61cb059fe94fd5d.tar.gz
QPID-4700: fix typo in mapping for 'to' field
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1464210 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/messaging/amqp/EncodedMessage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp b/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp
index 3370199067..98de63742f 100644
--- a/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp
+++ b/cpp/src/qpid/messaging/amqp/EncodedMessage.cpp
@@ -120,7 +120,7 @@ void EncodedMessage::populate(qpid::types::Variant::Map& map) const
map["x-amqp-delivery-count"] = deliveryCount.get();
}
if (to) {
- map["x-amqp-delivery-count"] = to.str();
+ map["x-amqp-to"] = to.str();
}
if (!!absoluteExpiryTime) {
map["x-amqp-absolute-expiry-time"] = absoluteExpiryTime.get();