diff options
author | Gordon Sim <gsim@apache.org> | 2006-10-12 10:04:53 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-10-12 10:04:53 +0000 |
commit | af5784ad936f12da595618a48214a83c64acdbfb (patch) | |
tree | 5fc837924e92d54c366e60c736a00bbdd483496c /cpp/broker/src/Channel.cpp | |
parent | 39f26348fb81b96ab7bf35db79b3d6b4e9a581ca (diff) | |
download | qpid-python-af5784ad936f12da595618a48214a83c64acdbfb.tar.gz |
Fixed bug causing ChannelTest.testDeliveryNoAck to fail intermittently.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463179 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/broker/src/Channel.cpp')
-rw-r--r-- | cpp/broker/src/Channel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/broker/src/Channel.cpp b/cpp/broker/src/Channel.cpp index 7bc6d599e9..34d69716c4 100644 --- a/cpp/broker/src/Channel.cpp +++ b/cpp/broker/src/Channel.cpp @@ -124,7 +124,7 @@ Channel::ConsumerImpl::ConsumerImpl(Channel* _parent, string& _tag, } bool Channel::ConsumerImpl::deliver(Message::shared_ptr& msg){ - if(connection != msg->getPublisher()){//check for no_local + if(!connection || connection != msg->getPublisher()){//check for no_local if(ackExpected && !parent->checkPrefetch(msg)){ blocked = true; }else{ |