diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-21 02:18:41 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-21 02:18:41 +0000 |
commit | ae507a61cc08951a68f6be589d40c25b4977517a (patch) | |
tree | 1bcee01b303e011b99276021a5b1e97af906a907 /src/or/rephist.c | |
parent | 0e9dcfab97de3c9d9f608deb67bcdc866ae52c93 (diff) | |
download | tor-ae507a61cc08951a68f6be589d40c25b4977517a.tar.gz tor-ae507a61cc08951a68f6be589d40c25b4977517a.zip |
r18288@catbus: nickm | 2008-02-20 21:18:38 -0500
Recover from bad tracked-since value in mtbf history file. This may finally close bug 537.
svn:r13636
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 76b14247aa..f431c81228 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -954,7 +954,7 @@ rep_hist_load_mtbf_data(time_t now) if (strcmp(line, ".")) log_warn(LD_GENERAL, "Truncated MTBF file."); - if (!tracked_since) + if (tracked_since < 86400*365) /* Recover from insanely early value. */ tracked_since = latest_possible_start; stability_last_downrated = last_downrated; |