diff options
author | Roger Dingledine <arma@torproject.org> | 2007-05-10 04:01:28 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-05-10 04:01:28 +0000 |
commit | de6b3512e9dbab2038d467f71300c327aef46d8d (patch) | |
tree | f147c4ae3fe68207febc43fea8769c31bcafbdde /src/or/directory.c | |
parent | 34a09c24b59fa41edc1ad8b6f0d899cef877d273 (diff) | |
download | tor-de6b3512e9dbab2038d467f71300c327aef46d8d.tar.gz tor-de6b3512e9dbab2038d467f71300c327aef46d8d.zip |
move a few more situations over to the authority_type_t bitfield
svn:r10151
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index f782feca2e..e03506a4f4 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -209,7 +209,7 @@ directory_get_from_dirserver(uint8_t purpose, const char *resource, } if (!rs) { /* anybody with a non-zero dirport will do */ - rs = router_pick_directory_server(1, 1, type==V2_AUTHORITY, + rs = router_pick_directory_server(1, 1, type, retry_if_no_servers); if (!rs) { const char *which; @@ -239,7 +239,7 @@ directory_get_from_dirserver(uint8_t purpose, const char *resource, retry_if_no_servers); } else { /* anybody with a non-zero dirport will do. Disregard firewalls. */ - rs = router_pick_directory_server(1, 0, type == V2_AUTHORITY, + rs = router_pick_directory_server(1, 0, type, retry_if_no_servers); /* If we have any hope of building an indirect conn, we know some router * descriptors. If (rs==NULL), we can't build circuits anyway, so |