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

[or-cvs] r9880: temporary hack to solve bug 384, so i can get on with debugg (tor/trunk/src/or)



Author: arma
Date: 2007-03-19 22:10:18 -0400 (Mon, 19 Mar 2007)
New Revision: 9880

Modified:
   tor/trunk/src/or/routerlist.c
Log:
temporary hack to solve bug 384, so i can get on with debugging
other stuff.


Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2007-03-19 23:32:30 UTC (rev 9879)
+++ tor/trunk/src/or/routerlist.c	2007-03-20 02:10:18 UTC (rev 9880)
@@ -4069,6 +4069,13 @@
          * we take this clause out. -RD */
         continue;
       }
+      { /* XXX temporary hack so I can debug other stuff without bug 384
+         * filling up my logs. */
+        trusted_dir_server_t *ds;
+        ds = router_get_trusteddirserver_by_digest(ns->identity_digest);
+        if (ds && !ds->is_running)
+          continue;
+      }
       SMARTLIST_FOREACH(ns->entries, routerstatus_t * , rs,
         {
           if (!rs->need_to_mirror)