qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r583298 - /incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp
Date Tue, 09 Oct 2007 20:58:58 GMT
Author: aconway
Date: Tue Oct  9 13:58:58 2007
New Revision: 583298

URL: http://svn.apache.org/viewvc?rev=583298&view=rev
Log:
Fixed compile error.

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp?rev=583298&r1=583297&r2=583298&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp Tue Oct  9 13:58:58 2007
@@ -269,8 +269,8 @@
     QPID_LOG(debug, "Credit check for destination " << name << " byteCredit:
" << byteCredit << " msgCredit: " << msgCredit);
     Mutex::ScopedLock l(lock);
     if (msgCredit == 0 || (byteCredit != 0xFFFFFFFF && byteCredit < msg->getRequiredCredit()))
{
-        return false;
         QPID_LOG(debug, "Credit is empty for destination " << name);
+        return false;
     } else {
         if (msgCredit != 0xFFFFFFFF) {
             msgCredit--;



Mime
View raw message