summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-11-08 14:27:36 -0500
committerNick Mathewson <nickm@torproject.org>2011-05-05 20:54:11 -0400
commit6e58575767929b696035bc8385705ea3aa8b6838 (patch)
treeb2e917b147b275800a4e38efa16fe82f456c1e2c /src/or/dirserv.c
parentba1143e4680c9f41c1c2040a1181c522c9bb8e8d (diff)
downloadtor-6e58575767929b696035bc8385705ea3aa8b6838.tar.gz
tor-6e58575767929b696035bc8385705ea3aa8b6838.zip
Automated rename from authority_type_t to dirinfo_type_t
We were already overloading this type to mean "a directory that can serve us X" in addition to "a directory that is an authority for X."
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 276f61c430..c42c4fec5c 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1552,7 +1552,7 @@ dirserv_pick_cached_dir_obj(cached_dir_t *cache_src,
cached_dir_t *auth_src,
time_t dirty, cached_dir_t *(*regenerate)(void),
const char *name,
- authority_type_t auth_type)
+ dirinfo_type_t auth_type)
{
or_options_t *options = get_options();
int authority = (auth_type == V1_AUTHORITY && authdir_mode_v1(options)) ||