summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/lib/client/ClientChannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/lib/client/ClientChannel.cpp b/cpp/lib/client/ClientChannel.cpp
index ec9ce71dd7..24f21d1a30 100644
--- a/cpp/lib/client/ClientChannel.cpp
+++ b/cpp/lib/client/ClientChannel.cpp
@@ -149,7 +149,7 @@ void Channel::declareQueue(Queue& queue, bool synch){
new QueueDeclareBody(
version, 0, name, false/*passive*/, queue.isDurable(),
queue.isExclusive(), queue.isAutoDelete(), !synch, args));
- if (synch) {
+ if(synch){
if(queue.getName().length() == 0){
QueueDeclareOkBody::shared_ptr response =
shared_polymorphic_downcast<QueueDeclareOkBody>(