summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-02-10 07:00:23 +0000
committerRoger Dingledine <arma@torproject.org>2005-02-10 07:00:23 +0000
commit236aa86ae72d82d5294f591b75133182b7a1d4d4 (patch)
tree2dd3d7c74ef586c943faf3151f3b5ae7e118f08b /src
parent37ca621301134d567fbaa7cbbc84b3c10807726c (diff)
downloadtor-236aa86ae72d82d5294f591b75133182b7a1d4d4.tar.gz
tor-236aa86ae72d82d5294f591b75133182b7a1d4d4.zip
stop picking unverified dir mirrors, ever.
it only leads to misery. svn:r3610
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 10c43006e3..fe0b298d6b 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -176,7 +176,7 @@ router_pick_directory_server_impl(int requireothers, int fascistfirewall,
sl = smartlist_create();
for (i=0;i< smartlist_len(routerlist->routers); i++) {
router = smartlist_get(routerlist->routers, i);
- if (!router->is_running || !router->dir_port)
+ if (!router->is_running || !router->dir_port || !router->is_verified)
continue;
if (requireothers && router_is_me(router))
continue;