diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-01 11:22:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-01 11:22:42 -0400 |
commit | 2b94b0ea721f2bd0127d097860ef64b915e2781a (patch) | |
tree | ea236765d830607953209693b0d8447cffc230bc /src/or/hibernate.c | |
parent | f6ecda84005cc436c656e5fc7ed5b6dfe71a6ca8 (diff) | |
parent | a6514b8a20b7a6fafb72bafad1e9c98a8e35cdee (diff) | |
download | tor-2b94b0ea721f2bd0127d097860ef64b915e2781a.tar.gz tor-2b94b0ea721f2bd0127d097860ef64b915e2781a.zip |
Merge remote-tracking branch 'public/bug22245_024' into maint-0.2.9
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index aaf5c4bdcd..e3c80b5f14 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -331,7 +331,7 @@ edge_of_accounting_period_containing(time_t now, int get_end) case UNIT_MONTH: { /* If this is before the Nth, we want the Nth of last month. */ if (tm.tm_mday < cfg_start_day || - (tm.tm_mday < cfg_start_day && before)) { + (tm.tm_mday == cfg_start_day && before)) { --tm.tm_mon; } /* Otherwise, the month is correct. */ |