aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-02 16:42:18 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-02 16:46:03 -0400
commitbfa1962d8026e632e00760c1e14b39d154977adf (patch)
tree218e96b860a5fa4fa1baae7e1e316309e6c7502f /src/or/directory.h
parent6f9f1f3324d49ffbe0a5275a268111882ba8851f (diff)
downloadtor-bfa1962d8026e632e00760c1e14b39d154977adf.tar
tor-bfa1962d8026e632e00760c1e14b39d154977adf.tar.gz
Complicate the rules on WARN vs INFO in consensus verification
It's normal when bootstrapping to have a lot of different certs missing, so we don't want missing certs to make us warn... unless the certs we're missing are ones that we've tried to fetch a couple of times and failed at. May fix bug 1145.
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 36b4cf2b1..6fd2c0bef 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -104,5 +104,7 @@ download_status_mark_impossible(download_status_t *dl)
dl->n_download_failures = IMPOSSIBLE_TO_DOWNLOAD;
}
+int download_status_get_n_failures(const download_status_t *dls);
+
#endif