aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-task.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-build-task.cxx')
-rw-r--r--mod/mod-build-task.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx
index 030c41d..7edc14a 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -160,8 +160,8 @@ handle (request& rq, response& rs)
//
try
{
- if (path_match (dash_components_to_path (c.machine_pattern),
- dash_components_to_path (m.name),
+ if (path_match (dash_components_to_path (m.name),
+ dash_components_to_path (c.machine_pattern),
dir_path () /* start */,
path_match_flags::match_absent) &&
cfg_machines.insert (