diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-23 17:56:31 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-23 17:56:31 +0000 |
commit | 558e9899e4d11d8ef194e5bc1761d5d2f6dff450 (patch) | |
tree | 45eb50017f2b65c70babf90b3c088a3c952ce6de /src/or/hibernate.c | |
parent | d7f55dafe0287c1a8c13478c4e077da65533769c (diff) | |
download | tor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.tar.gz tor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.zip |
Document most undocumented variables.
svn:r17754
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index fed92dde85..4195fed654 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -103,13 +103,12 @@ static time_t interval_wakeup_time = 0; static uint64_t expected_bandwidth_usage = 0; /** What unit are we using for our accounting? */ static time_unit_t cfg_unit = UNIT_MONTH; + /** How many days,hours,minutes into each unit does our accounting interval * start? */ -static int cfg_start_day = 0; -/* DOCDOC cfg_start_hour */ -static int cfg_start_hour = 0; -/* DOCDOC cfg_start_min */ -static int cfg_start_min = 0; +static int cfg_start_day = 0, + cfg_start_hour = 0, + cfg_start_min = 0; static void reset_accounting(time_t now); static int read_bandwidth_usage(void); |