diff options
| author | Alan Conway <aconway@apache.org> | 2007-10-09 20:58:58 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-10-09 20:58:58 +0000 |
| commit | e15909dc140b1e4a0b7881601327ce69dee9b3c0 (patch) | |
| tree | 501192c664d7dc9bf230e13a15ba19fe2051b97e /cpp/src | |
| parent | 1167f093eaf4f03e2b7422388d6a70deb53f9e61 (diff) | |
| download | qpid-python-e15909dc140b1e4a0b7881601327ce69dee9b3c0.tar.gz | |
Fixed compile error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@583298 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index ade79cb5c4..4214f67bfe 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/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--; |
