[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] bugfix: moria2 wasn"t listing itself as verified in its dir...



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:
bugfix: moria2 wasn't listing itself as verified in its directory


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.265
retrieving revision 1.266
diff -u -d -r1.265 -r1.266
--- routerlist.c	1 Sep 2005 08:19:49 -0000	1.265
+++ routerlist.c	2 Sep 2005 06:19:31 -0000	1.266
@@ -904,7 +904,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_verified status based on our lookup. */
+          old_router->is_verified = router->is_verified;
+        } else {
           /* Update the is_running status to whatever we were told. */
           old_router->is_running = router->is_running;
         }