aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-24 19:53:08 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-24 19:53:08 +0000
commit9767415dca97280fabd457f18998426a53c7c9b2 (patch)
tree8ea0ddf8485ca409694644457526e51993bcd704 /src/or/networkstatus.c
parent02e7a83f91f7a051f3f493906e227aba1eb8a70a (diff)
downloadtor-9767415dca97280fabd457f18998426a53c7c9b2.tar
tor-9767415dca97280fabd457f18998426a53c7c9b2.tar.gz
r16111@catbus: nickm | 2007-10-24 15:03:57 -0400
Allow multiple download schedules to exist. At the moment, we use one for consensus, and the other one for everything else. svn:r12158
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index d3f8ef8c6..338028b21 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -49,7 +49,7 @@ static time_t last_networkstatus_download_attempted = 0;
* before the current consensus becomes invalid. */
static time_t time_to_download_next_consensus = 0;
/** Download status for the current consensus networkstatus. */
-static download_status_t consensus_dl_status = { 0, 0};
+static download_status_t consensus_dl_status = { 0, 0, DL_SCHED_CONSENSUS };
/** True iff we have logged a warning about this OR not being valid or
* not being named. */