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

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



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);