aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-22 16:32:04 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-22 16:32:04 +0000
commitc47eb2c8d95b57081b3f00fe90a1db9f3a10d4b0 (patch)
tree5c8322f93965b9417b5768403c0705f2a7b52f8d /src/or/networkstatus.c
parentdb058694663f1a0283a29fd11468619b0bf1de74 (diff)
downloadtor-c47eb2c8d95b57081b3f00fe90a1db9f3a10d4b0.tar
tor-c47eb2c8d95b57081b3f00fe90a1db9f3a10d4b0.tar.gz
r16032@catbus: nickm | 2007-10-22 11:56:53 -0400
When our directory status or our v3 authority status changes, reschedule operations as appropriate. (Fixes some xxxx020 items) svn:r12102
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index aa70c2703..589633c97 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -776,11 +776,10 @@ networkstatus_consensus_download_failed(int status_code)
/** Update the time at which we'll consider replacing the current
* consensus. */
-static void
+void
update_consensus_networkstatus_fetch_time(time_t now)
{
or_options_t *options = get_options();
- /* XXXX020 call this when DirPort switches on or off. NMNM */
networkstatus_vote_t *c = networkstatus_get_live_consensus(now);
if (c) {
long dl_interval;