[or-cvs] r10569: Resetting the correct stats (tor/trunk/src/or)

weasel at seul.org weasel at seul.org
Tue Jun 12 01:09:54 UTC 2007


Author: weasel
Date: 2007-06-11 21:09:53 -0400 (Mon, 11 Jun 2007)
New Revision: 10569

Modified:
   tor/trunk/src/or/routerlist.c
Log:
Resetting the correct stats

Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2007-06-12 00:38:44 UTC (rev 10568)
+++ tor/trunk/src/or/routerlist.c	2007-06-12 01:09:53 UTC (rev 10569)
@@ -532,7 +532,7 @@
   mmap_ptr =
     extrainfo ? &routerlist->mmap_extrainfo : &routerlist->mmap_descriptors;
 
-  router_store_stats.journal_len = router_store_stats.store_len = 0;
+  stats->journal_len = stats->store_len = 0;
 
   tor_snprintf(fname, fname_len, "%s"PATH_SEPARATOR"%s",
                options->DataDirectory, fname_base);



More information about the tor-commits mailing list