summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2012-08-15 14:27:16 +0000
committerGordon Sim <gsim@apache.org>2012-08-15 14:27:16 +0000
commit42754d65c038d149109b14b49d6afdf2e7ef8a12 (patch)
tree91b59e9f954bab3082d6e2696e5f7285f151d244
parent42f721be4c0c526bbcc7bc328bbf511fe99709e0 (diff)
downloadqpid-python-42754d65c038d149109b14b49d6afdf2e7ef8a12.tar.gz
QPID-4178: Test value specified for no-local, rather than assuming its true
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1373431 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/src/qpid/broker/QueueSettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/QueueSettings.cpp b/cpp/src/qpid/broker/QueueSettings.cpp
index e96cec1701..91616636f1 100644
--- a/cpp/src/qpid/broker/QueueSettings.cpp
+++ b/cpp/src/qpid/broker/QueueSettings.cpp
@@ -104,7 +104,7 @@ bool QueueSettings::handle(const std::string& key, const qpid::types::Variant& v
return false;
}
} else if (key == NO_LOCAL) {
- noLocal = true;
+ noLocal = value;
return true;
} else if (key == TRACE_ID) {
traceId = value.asString();