Commit 6b26e3ef authored by Elvin Sindrilaru's avatar Elvin Sindrilaru

MQ: Fix wrong condition when doing filtering

parent 8bf8e6fd
......@@ -344,7 +344,7 @@ XrdMqSharedHash::SerializeWithFilter(const char* filter_prefix)
key = it->first.c_str();
if (((filter_prefix == nullptr) || (strlen(filter_prefix) == 0)) ||
(key.find(filter_prefix) == 0)) {
(key.find(filter_prefix) != 0)) {
oss << key << "=" << it->second.GetValue() << " ";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment