summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-05-22 01:17:08 +0000
committerRoger Dingledine <arma@torproject.org>2007-05-22 01:17:08 +0000
commitb89ad9eb1bfcde68010b125232b05033f3b2bdfa (patch)
tree1480596487e5d3cc85bb326e4d9f4ec50a0bd2ef /src/or/routerlist.c
parent6ede110c4de344ee4c51e730a054ff624ea1de75 (diff)
downloadtor-b89ad9eb1bfcde68010b125232b05033f3b2bdfa.tar.gz
tor-b89ad9eb1bfcde68010b125232b05033f3b2bdfa.zip
mark a bug for nick to tackle -- we're rebuilding our router store more
often than we need to. reported by lodger. svn:r10241
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 2b900af2e9..2f33ca8678 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -271,7 +271,7 @@ _compare_signed_descriptors_by_age(const void **_a, const void **_b)
static int
router_rebuild_store(int force, int extrainfo)
{
- size_t len = 0;
+ size_t len = 0; /* XXX020 never used */
or_options_t *options;
size_t fname_len;
smartlist_t *chunk_list = NULL;
@@ -394,7 +394,7 @@ router_rebuild_store(int force, int extrainfo)
write_str_to_file(fname, "", 1);
r = 0;
- stats->store_len = len;
+ stats->store_len = len; /* XXX020 always 0 */
stats->journal_len = 0;
stats->bytes_dropped = 0;
done: