diff options
author | Gordon Sim <gsim@apache.org> | 2010-03-04 18:34:01 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2010-03-04 18:34:01 +0000 |
commit | 0327597e84cc8fd33bcda385ff1a13236904356d (patch) | |
tree | c8603dddfa3953cae85130bb9d68e4b9e8199f9d /cpp | |
parent | 4f549cd24a62b0e225b86ad65e9399d388f8f698 (diff) | |
download | qpid-python-0327597e84cc8fd33bcda385ff1a13236904356d.tar.gz |
QPID-2429: Use explicit check for void value rather than relaying on empty() call when matching 'wildcard' binding properties.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919112 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/qpid/broker/HeadersExchange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/HeadersExchange.cpp b/cpp/src/qpid/broker/HeadersExchange.cpp index 640036e741..daf53085bf 100644 --- a/cpp/src/qpid/broker/HeadersExchange.cpp +++ b/cpp/src/qpid/broker/HeadersExchange.cpp @@ -252,7 +252,7 @@ namespace { bool match_values(const FieldValue& bind, const FieldValue& msg) { - return bind.empty() || bind == msg; + return bind.getType() == 0xf0 || bind == msg; } } |