diff options
author | Roger Dingledine <arma@torproject.org> | 2007-01-04 05:41:24 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-01-04 05:41:24 +0000 |
commit | da2ff14839eb8a3d4d5ff247184e9c380d0bbe18 (patch) | |
tree | d3a2f89f3c6a1bfcb32ef23a08108bd3cf1a4830 /src/or/hibernate.c | |
parent | 50f0e360947418a8033383bfea6fccbebc4d1bb5 (diff) | |
download | tor-da2ff14839eb8a3d4d5ff247184e9c380d0bbe18.tar.gz tor-da2ff14839eb8a3d4d5ff247184e9c380d0bbe18.zip |
Set orport= for 4 of the 5 dir authorities; Fix getinfo ns/all; Fix seg
fault when starting a server without a fingerprint file present.
svn:r9261
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 77109849d3..04af40de3c 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -544,7 +544,7 @@ accounting_record_bandwidth_usage(time_t now, or_state_t *state) time_t tmp; int r = 0; uint64_t expected; - static time_t last_recorded; + static time_t last_recorded = 0; /* First, update bw_accounting. Until 0.1.2.5-alpha, this was the only place * we stored this information. The format is: |