Channel::declareQueue() passive and durable flags were in conflict

This commit is contained in:
Emiel Bruijntjes 2014-01-12 02:40:42 -08:00
parent 9c86f0d750
commit 99406af6c7
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ bool ChannelImpl::removeExchange(const std::string &name, int flags)
bool ChannelImpl::declareQueue(const std::string &name, int flags, const Table &arguments)
{
// send the queuedeclareframe
return send(QueueDeclareFrame(_id, name, flags & passive, flags & durable, flags & durable, flags & autodelete, flags & nowait, arguments));
return send(QueueDeclareFrame(_id, name, flags & passive, flags & durable, flags & exclusive, flags & autodelete, flags & nowait, arguments));
}
/**