summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-06-28 15:36:28 +0000
committerNick Mathewson <nickm@torproject.org>2006-06-28 15:36:28 +0000
commit8b08ab52fd8dd85ff59a2afa3ced7db71e5e0d7e (patch)
tree050d8ac61908ea7a7d1aadd88d1dde8e686c8525 /src
parent96bfefeeb62c0742623485a485ca47c609cb90ae (diff)
downloadtor-8b08ab52fd8dd85ff59a2afa3ced7db71e5e0d7e.tar.gz
tor-8b08ab52fd8dd85ff59a2afa3ced7db71e5e0d7e.zip
Fix another idiot bug causing symptom 309. Why cant I program?
svn:r6698
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index b41c6d4f49..a6e9a26612 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -296,6 +296,7 @@ router_rebuild_store(int force)
sd->saved_location = SAVED_IN_CACHE;
if (routerlist->mmap_descriptors) {
tor_free(sd->signed_descriptor_body); // sets it to null
+ sd->saved_offset = offset;
}
offset += sd->signed_descriptor_len;
signed_descriptor_get_body(sd);