diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 20:47:17 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-28 20:47:17 +0300 |
commit | dc8aa85f3d78fccf204530c8db6baf68229edf5e (patch) | |
tree | 4d2d52e07644369d6d9def84dbb6724523698fab /mod/mod-builds.cxx | |
parent | cdcb44468670b2f557070c43f2ca6dd389eda03c (diff) |
Adapt to swapping of entry and pattern parameters in butl::path_match()
Diffstat (limited to 'mod/mod-builds.cxx')
-rw-r--r-- | mod/mod-builds.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx index 640c172..ec469a4 100644 --- a/mod/mod-builds.cxx +++ b/mod/mod-builds.cxx @@ -755,11 +755,11 @@ handle (request& rq, response& rs) for (const auto& c: *build_conf_) { - if ((pc.empty () || path_match (pc, c.name)) && // Filter by name. + if ((pc.empty () || path_match (c.name, pc)) && // Filter by name. // Filter by target. // - (tg.empty () || path_match (tg, c.target.string ())) && + (tg.empty () || path_match (c.target.string (), tg)) && (!exclude_hidden || belongs (c, "all"))) // Filter hidden. { |