summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-07-26 16:19:16 +0000
committerGordon Sim <gsim@apache.org>2011-07-26 16:19:16 +0000
commit635d538c62c49e1d92a490b571266314c33e66a9 (patch)
tree4f3794d796494587e49f65a18859789d07c3b748 /cpp/src/qpid
parentbf041292746228f41fba0e70d10a49921a92ac0a (diff)
downloadqpid-python-635d538c62c49e1d92a490b571266314c33e66a9.tar.gz
QPID-3372: fixed comparison of desired and actual properties for exchanges
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1151154 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid')
-rw-r--r--cpp/src/qpid/client/amqp0_10/AddressResolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp b/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
index 9cf5f31290..cea7eb0b51 100644
--- a/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
+++ b/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
@@ -833,7 +833,7 @@ void Exchange::checkAssert(qpid::client::AsyncSession& session, CheckMode mode)
FieldTable::ValuePtr v = result.getArguments().get(i->first);
if (!v) {
throw AssertionFailed((boost::format("Option %1% not set for %2%") % i->first % name).str());
- } else if (i->second != v) {
+ } else if (*i->second != *v) {
throw AssertionFailed((boost::format("Option %1% does not match for %2%, expected %3%, got %4%")
% i->first % name % *(i->second) % *v).str());
}