qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r782555 - /qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp
Date Mon, 08 Jun 2009 08:19:23 GMT
Author: gsim
Date: Mon Jun  8 08:19:23 2009
New Revision: 782555

URL: http://svn.apache.org/viewvc?rev=782555&view=rev
Log:
Fix change in test logic introduced by r782075.


Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp?rev=782555&r1=782554&r2=782555&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp Mon Jun  8 08:19:23 2009
@@ -1022,5 +1022,5 @@
 
 bool Queue::isEnqueued(const QueuedMessage& msg)
 {
-    return policy.get() && policy->isEnqueued(msg);
+    return !policy.get() || policy->isEnqueued(msg);
 }



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message