aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-06-20 01:52:59 -0400
committerNick Mathewson <nickm@torproject.org>2009-06-30 10:10:13 -0400
commitbdca5476daa900813fcc3ad04b3e952dcaddc994 (patch)
treecffbe92fe669a74a80148c7531f0643d79b93b4e /src/or/dirserv.c
parent0cd16c4ad3aee87c385d62f9af7af64a7a99335c (diff)
downloadtor-bdca5476daa900813fcc3ad04b3e952dcaddc994.tar.gz
tor-bdca5476daa900813fcc3ad04b3e952dcaddc994.zip
the second piece of bug 969 fixing
whenever we remove a relay from the main routerlist, tell the rephist module that it's no longer running.
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 55c3302c6e..a64a01bb80 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -797,7 +797,7 @@ directory_remove_invalid(void)
if (r & FP_REJECT) {
log_info(LD_DIRSERV, "Router '%s' is now rejected: %s",
ent->nickname, msg?msg:"");
- routerlist_remove(rl, ent, 0);
+ routerlist_remove(rl, ent, 0, time(NULL));
i--;
changed = 1;
continue;