aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 22d0110..ec937fd 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -628,8 +628,8 @@ handle (request& rq, response& rs)
assert (b.state == build_state::built);
return (b.force == force_state::forced &&
- b.soft_timestamp <= forced_rebuild_expiration) ||
- b.soft_timestamp <= soft_rebuild_expiration ||
+ b.timestamp <= forced_rebuild_expiration) ||
+ b.soft_timestamp <= soft_rebuild_expiration ||
b.hard_timestamp <= hard_rebuild_expiration;
};