bugfix - fixes bug where channel declaration deferred object is put in fail state after successful send of data

refs #12
This commit is contained in:
Richard Hodges 2014-07-30 09:39:20 +01:00
parent b9ca150dba
commit d2a97c1dd3
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ Deferred &ChannelImpl::push(Deferred *deferred)
Deferred &ChannelImpl::push(const Frame &frame)
{
// send the frame, and push the result
return push(new Deferred(send(frame)));
return push(new Deferred(!send(frame)));
}
/**