[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r10241: mark a bug for nick to tackle -- we're rebuilding our router (tor/trunk/src/or)



Author: arma
Date: 2007-05-21 21:17:08 -0400 (Mon, 21 May 2007)
New Revision: 10241

Modified:
   tor/trunk/src/or/routerlist.c
Log:
mark a bug for nick to tackle -- we're rebuilding our router store more
often than we need to. reported by lodger.


Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2007-05-22 01:01:24 UTC (rev 10240)
+++ tor/trunk/src/or/routerlist.c	2007-05-22 01:17:08 UTC (rev 10241)
@@ -271,7 +271,7 @@
 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 @@
   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: