diff options
author | Peter Palfrader <peter@palfrader.org> | 2007-05-21 12:14:45 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2007-05-21 12:14:45 +0000 |
commit | d2f7a9d0ccad0a3254938367e3dd828c93bc5a09 (patch) | |
tree | 5894ab7a90490961ed6877a7ca4e6adbf7f787bf /src | |
parent | a4f5b99e61b1fc49ea036c5b9ef16f7bde5e8306 (diff) | |
download | tor-d2f7a9d0ccad0a3254938367e3dd828c93bc5a09.tar.gz tor-d2f7a9d0ccad0a3254938367e3dd828c93bc5a09.zip |
Hopefully fix #429 for good by actually using, not just figuring out, the correct mmap
svn:r10233
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 61c65dd23f..f85dfb97cc 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1567,7 +1567,7 @@ signed_descriptor_get_body(signed_descriptor_t *desc) 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. */ |