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 | 0fa9f4026bade25610d8dbb697a52ccb821aef16 (patch) | |
| tree | ef9c5bec5471cc4fa3265104173aa5619995b5f9 /qpid/cpp/broker/src | |
| parent | 7a8359b48b9f8074d9b5e0ca3e44abef4d26d690 (diff) | |
| download | qpid-python-0fa9f4026bade25610d8dbb697a52ccb821aef16.tar.gz | |
Fixed bug causing ChannelTest.testDeliveryNoAck to fail intermittently.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@463179 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/broker/src')
| -rw-r--r-- | qpid/cpp/broker/src/Channel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/broker/src/Channel.cpp b/qpid/cpp/broker/src/Channel.cpp index 7bc6d599e9..34d69716c4 100644 --- a/qpid/cpp/broker/src/Channel.cpp +++ b/qpid/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{ |
