[or-cvs] Add a check to try to make cache rebuild fail fast if it is...

Nick Mathewson nickm at seul.org
Wed Jun 28 11:03:36 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:
Add a check to try to make cache rebuild fail fast if it is going to fail

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.527
retrieving revision 1.528
diff -u -p -d -r1.527 -r1.528
--- routerlist.c	28 Jun 2006 08:57:41 -0000	1.527
+++ routerlist.c	28 Jun 2006 11:03:34 -0000	1.528
@@ -298,6 +298,7 @@ router_rebuild_store(int force)
         tor_free(sd->signed_descriptor_body); // sets it to null
       }
       offset += sd->signed_descriptor_len;
+      signed_descriptor_get_body(sd);
     });
   }
   smartlist_free(old_routers);



More information about the tor-commits mailing list