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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx
index 3ab0ea8..390fe8e 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -876,7 +876,7 @@ handle (request& rq, response& rs)
//
// This is why we query the database for configurations that should not
// be built (in the built state, or in the building state and not
- // expired). Having such a list we will select the first build
+ // expired). Having such a list we will select the first build
// configuration that is not in the list (if available) for the
// response.
//
@@ -921,8 +921,8 @@ handle (request& rq, response& rs)
return (b.force == force_state::forced &&
b.timestamp <= forced_rebuild_expiration) ||
- b.soft_timestamp <= soft_rebuild_expiration ||
- b.hard_timestamp <= hard_rebuild_expiration;
+ b.soft_timestamp <= soft_rebuild_expiration ||
+ b.hard_timestamp <= hard_rebuild_expiration;
};
// Convert a build to the hard rebuild, resetting the agent checksum.