diff options
author | Gordon Sim <gsim@apache.org> | 2009-06-08 08:19:23 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-06-08 08:19:23 +0000 |
commit | e58ac71117497bd722a1f5fe54d192b9f56e688c (patch) | |
tree | cc3faa6c04d3fb378ff82516247b7142ba1267bd | |
parent | 330fb23948e684856fd4f24337967f67d94befc2 (diff) | |
download | qpid-python-e58ac71117497bd722a1f5fe54d192b9f56e688c.tar.gz |
Fix change in test logic introduced by r782075.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@782555 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/broker/Queue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/Queue.cpp b/qpid/cpp/src/qpid/broker/Queue.cpp index ffe743bac1..dff28f189e 100644 --- a/qpid/cpp/src/qpid/broker/Queue.cpp +++ b/qpid/cpp/src/qpid/broker/Queue.cpp @@ -1022,5 +1022,5 @@ void Queue::enqueued(const QueuedMessage& m) bool Queue::isEnqueued(const QueuedMessage& msg) { - return policy.get() && policy->isEnqueued(msg); + return !policy.get() || policy->isEnqueued(msg); } |