[or-cvs] Fix another idiot bug causing symptom 309. Why cant I prog...

Nick Mathewson nickm at seul.org
Wed Jun 28 15:36:31 UTC 2006


Update of /home/or/cvsroot/tor/src/or
In directory moria:/home/nickm/src/tor/src/or

Modified Files:
	routerlist.c 
Log Message:
Fix another idiot bug causing symptom 309.  Why cant I program?

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.528
retrieving revision 1.529
diff -u -p -d -r1.528 -r1.529
--- routerlist.c	28 Jun 2006 11:03:34 -0000	1.528
+++ routerlist.c	28 Jun 2006 15:36:28 -0000	1.529
@@ -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);



More information about the tor-commits mailing list