aboutsummaryrefslogtreecommitdiff
path: root/src/or/voting_schedule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/voting_schedule.c')
-rw-r--r--src/or/voting_schedule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/voting_schedule.c b/src/or/voting_schedule.c
index b7676d5e79..1d66b5e225 100644
--- a/src/or/voting_schedule.c
+++ b/src/or/voting_schedule.c
@@ -39,7 +39,9 @@ voting_schedule_get_start_of_next_interval(time_t now, int interval,
tm.tm_sec = 0;
if (tor_timegm(&tm, &midnight_today) < 0) {
+ // LCOV_EXCL_START
log_warn(LD_BUG, "Ran into an invalid time when trying to find midnight.");
+ // LCOV_EXCL_STOP
}
midnight_tomorrow = midnight_today + (24*60*60);