summaryrefslogtreecommitdiff
path: root/src/filters.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters.h')
-rw-r--r--src/filters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters.h b/src/filters.h
index e7a2eefa..d207d842 100644
--- a/src/filters.h
+++ b/src/filters.h
@@ -732,8 +732,8 @@ public:
virtual void flush() {
if (last_post && interval.duration) {
- if (interval.is_valid())
- report_subtotal(interval);
+ if (last_interval && interval != last_interval)
+ report_subtotal(last_interval);
subtotal_posts::flush();
}
}