summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/SemanticState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp
index 3a0bdefcb1..7907b47854 100644
--- a/cpp/src/qpid/broker/SemanticState.cpp
+++ b/cpp/src/qpid/broker/SemanticState.cpp
@@ -598,7 +598,7 @@ void SemanticState::ConsumerImpl::enableNotify()
void SemanticState::ConsumerImpl::disableNotify()
{
Mutex::ScopedLock l(lock);
- notifyEnabled = true;
+ notifyEnabled = false;
}
void SemanticState::ConsumerImpl::notify()