diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-10-31 20:48:06 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-10-31 20:48:06 +0000 |
commit | 779b615bc272b287436398ae59afcf1ee19154d6 (patch) | |
tree | 5921d55080d96d4abaa946ad96c9c7c0a6197d51 /src/or/routerlist.c | |
parent | 17266cc44a0a386ec006970317e2d5941141867b (diff) | |
download | tor-779b615bc272b287436398ae59afcf1ee19154d6.tar tor-779b615bc272b287436398ae59afcf1ee19154d6.tar.gz |
r16300@catbus: nickm | 2007-10-31 15:36:41 -0400
Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate.
svn:r12299
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 7bdae35a8..52125b8dc 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4305,7 +4305,7 @@ hid_serv_get_responsible_directories(smartlist_t *responsible_dirs, const char *digest; int i; routerinfo_t *router; - char id_base32[REND_DESC_ID_V2_BASE32+1]; + char id_base32[REND_DESC_ID_V2_LEN_BASE32 + 1]; tor_assert(id); base32_encode(id_base32, sizeof(id_base32), id, DIGEST_LEN); if (!hid_serv_have_enough_directories(hs_dirs)) { @@ -4379,7 +4379,7 @@ hid_serv_acting_as_directory(const smartlist_t *hs_dirs) }); if (!found_me) { /* not acting as HS Dir */ - char me_base32[REND_DESC_ID_V2_BASE32 + 1]; + char me_base32[REND_DESC_ID_V2_LEN_BASE32 + 1]; base32_encode(me_base32, sizeof(me_base32), me->cache_info.identity_digest, DIGEST_LEN); log_info(LD_REND, "We are not acting as hidden service directory, " |