[or-cvs] disarm a trap
arma at seul.org
arma at seul.org
Fri Aug 26 21:12:55 UTC 2005
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
routerlist.c
Log Message:
disarm a trap
Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -d -r1.256 -r1.257
--- routerlist.c 26 Aug 2005 21:12:34 -0000 1.256
+++ routerlist.c 26 Aug 2005 21:12:53 -0000 1.257
@@ -893,9 +893,10 @@
if (router->published_on <= old_router->published_on) {
log_fn(LOG_DEBUG, "Skipping not-new descriptor for router '%s'",
router->nickname);
- if (!authdir)
+ if (!authdir) {
/* Update the is_running status to whatever we were told. */
old_router->is_running = router->is_running;
+ }
routerinfo_free(router);
if (msg) *msg = "Router descriptor was not new.";
return -1;
More information about the tor-commits
mailing list