aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/rules.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/rules.c')
-rw-r--r--src/blogc-make/rules.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blogc-make/rules.c b/src/blogc-make/rules.c
index ca4b376..52afb2d 100644
--- a/src/blogc-make/rules.c
+++ b/src/blogc-make/rules.c
@@ -790,13 +790,13 @@ bm_rule_need_rebuild(bc_slist_t *sources, bm_filectx_t *settings,
rv = true;
break;
}
- if (source->timestamp.tv_sec == output->timestamp.tv_sec) {
- if (source->timestamp.tv_nsec > output->timestamp.tv_nsec) {
+ if (source->tv_sec == output->tv_sec) {
+ if (source->tv_nsec > output->tv_nsec) {
rv = true;
break;
}
}
- else if (source->timestamp.tv_sec > output->timestamp.tv_sec) {
+ else if (source->tv_sec > output->tv_sec) {
rv = true;
break;
}