diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-11-08 14:27:36 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-05 20:54:11 -0400 |
commit | 6e58575767929b696035bc8385705ea3aa8b6838 (patch) | |
tree | b2e917b147b275800a4e38efa16fe82f456c1e2c /src/or/router.c | |
parent | ba1143e4680c9f41c1c2040a1181c522c9bb8e8d (diff) | |
download | tor-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/router.c')
-rw-r--r-- | src/or/router.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c index 6ecfb86296..5f51935884 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -497,7 +497,7 @@ init_keys(void) char v3_digest[20]; char *cp; or_options_t *options = get_options(); - authority_type_t type; + dirinfo_type_t type; time_t now = time(NULL); trusted_dir_server_t *ds; int v3_digest_set = 0; @@ -1195,7 +1195,7 @@ router_upload_dir_desc_to_dirservers(int force) extrainfo_t *ei; char *msg; size_t desc_len, extra_len = 0, total_len; - authority_type_t auth = get_options()->_PublishServerDescriptor; + dirinfo_type_t auth = get_options()->_PublishServerDescriptor; ri = router_get_my_routerinfo(); if (!ri) { |