summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/routerlist.c2
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. */