summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-10-09 20:58:58 +0000
committerAlan Conway <aconway@apache.org>2007-10-09 20:58:58 +0000
commit307a4cf73eda3392bd8195c78e66a07672667537 (patch)
treed9720190f258c49a9319528717b25a6aee295456 /qpid/cpp/src
parent695761a845136a558de331fb0b0a49ecb9316da3 (diff)
downloadqpid-python-307a4cf73eda3392bd8195c78e66a07672667537.tar.gz
Fixed compile error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@583298 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/SemanticState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/SemanticState.cpp b/qpid/cpp/src/qpid/broker/SemanticState.cpp
index ade79cb5c4..4214f67bfe 100644
--- a/qpid/cpp/src/qpid/broker/SemanticState.cpp
+++ b/qpid/cpp/src/qpid/broker/SemanticState.cpp
@@ -269,8 +269,8 @@ bool SemanticState::ConsumerImpl::checkCredit(Message::shared_ptr& msg)
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--;