summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-04-23 21:26:37 +0000
committerTed Ross <tross@apache.org>2010-04-23 21:26:37 +0000
commit053d81b2dcac86893448de370fb0c4cc2e13c597 (patch)
tree72fd5803ef243067d5fb8c3c801867cef908cd28 /qpid/cpp/src
parent32f7c33e03fd5abeb0af06383d93a8fff64db973 (diff)
downloadqpid-python-053d81b2dcac86893448de370fb0c4cc2e13c597.tar.gz
Fixed a logic error in the handling of QMFv2 get-by-class queries. When deleted objects
were encountered, spurious updates were sent, appearing as duplicates. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@937526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/management/ManagementAgent.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpid/management/ManagementAgent.cpp b/qpid/cpp/src/qpid/management/ManagementAgent.cpp
index 58a5d9bdd0..223ed908da 100644
--- a/qpid/cpp/src/qpid/management/ManagementAgent.cpp
+++ b/qpid/cpp/src/qpid/management/ManagementAgent.cpp
@@ -1724,11 +1724,10 @@ void ManagementAgent::handleGetQueryLH(const string& body, const string& replyTo
"_data",
object->getMd5Sum());
list_.push_back(map_);
+ ListCodec::encode(list_, content);
+ sendBufferLH(content, cid, headers, "amqp/list", v2Direct, replyTo);
+ QPID_LOG(trace, "SENT QueryResponse (query by schema_id) to=" << replyTo);
}
-
- ListCodec::encode(list_, content);
- sendBufferLH(content, cid, headers, "amqp/list", v2Direct, replyTo);
- QPID_LOG(trace, "SENT QueryResponse (query by schema_id) to=" << replyTo);
}
}
}