From a4a222bc65c235b9be211cdc651ee5a267f27b25 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 14 Mar 2007 18:03:26 +0000 Subject: Merged revisions 507582 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r507582 | gsim | 2007-02-14 10:38:57 -0500 (Wed, 14 Feb 2007) | 3 lines Add durability property to queues and pass this to broker on declare. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518246 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/client/ClientChannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/lib/client/ClientChannel.cpp') 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( -- cgit v1.2.1