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

[or-cvs] r10233: Hopefully fix #429 for good by actually using, not just figu (tor/trunk/src/or)



Author: weasel
Date: 2007-05-21 08:14:45 -0400 (Mon, 21 May 2007)
New Revision: 10233

Modified:
   tor/trunk/src/or/routerlist.c
Log:
Hopefully fix #429 for good by actually using, not just figuring out, the correct mmap

Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2007-05-20 22:20:09 UTC (rev 10232)
+++ tor/trunk/src/or/routerlist.c	2007-05-21 12:14:45 UTC (rev 10233)
@@ -1567,7 +1567,7 @@
       mmap = routerlist->mmap_descriptors;
     if (mmap) {
       tor_assert(desc->saved_offset + len <= mmap->size);
-      r = routerlist->mmap_descriptors->data + desc->saved_offset;
+      r = mmap->data + desc->saved_offset;
     }
   }
   if (!r) /* no mmap, or not in cache. */