summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-18 21:37:58 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-18 21:37:58 +0000
commitb63a247c6817e099ea3666cc31cd1d24a2cf8fb4 (patch)
treebeee33270cecd56979e3e051219437a98e3e34cb /src/or/networkstatus.c
parentbbbf25db4d251ae25b8fe4d5a04f98cf72f7b855 (diff)
downloadtor-b63a247c6817e099ea3666cc31cd1d24a2cf8fb4.tar.gz
tor-b63a247c6817e099ea3666cc31cd1d24a2cf8fb4.zip
Make bridge authorities test reachability of bridges.
Added two XXX020's that we need to think harder about. svn:r12859
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 959e137dc8..3300c81b51 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -472,7 +472,7 @@ _compare_networkstatus_v2_published_on(const void **_a, const void **_b)
return 0;
}
-/** Add the parsed neworkstatus in <b>ns</b> (with original document in
+/** Add the parsed v2 networkstatus in <b>ns</b> (with original document in
* <b>s</b>) to the disk cache (and the in-memory directory server cache) as
* appropriate. */
static int
@@ -1672,6 +1672,7 @@ char *
networkstatus_getinfo_helper_single(routerstatus_t *rs)
{
char buf[256];
+ /* XXX020 that 256 above sounds a lot like RS_ENTRY_LEN in dirvote.c */
routerstatus_format_entry(buf, sizeof(buf), rs, NULL, 0);
return tor_strdup(buf);
}