[or-cvs] note another bug: we complain that a router doesn"t exist,

arma at seul.org arma at seul.org
Mon Apr 17 06:46:22 UTC 2006


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:
note another bug: we complain that a router doesn't exist,
because it's down so we never fetched it so it doesn't exist.


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.503
retrieving revision 1.504
diff -u -p -d -r1.503 -r1.504
--- routerlist.c	17 Apr 2006 06:43:27 -0000	1.503
+++ routerlist.c	17 Apr 2006 06:46:20 -0000	1.504
@@ -612,6 +612,9 @@ add_nickname_list_to_smartlist(smartlist
         }
       }
     } else {
+      /* XXX If it's down, we won't *have* the descriptor, since we
+       * don't fetch down descriptors. Need to check if it's in the
+       * status too before complaining. */
       if (!warned) {
         log_fn(have_dir_info ? LOG_WARN : LOG_INFO, LD_CONFIG,
                "Nickname list includes '%s' which isn't a known router.",nick);



More information about the tor-commits mailing list