[or-cvs] r15077: extra points if you make it compile. boy, i'm on a roll. (tor/trunk/src/or)

arma at seul.org arma at seul.org
Mon Jun 9 05:17:52 UTC 2008


Author: arma
Date: 2008-06-09 01:17:52 -0400 (Mon, 09 Jun 2008)
New Revision: 15077

Modified:
   tor/trunk/src/or/main.c
   tor/trunk/src/or/routerlist.c
Log:
extra points if you make it compile. boy, i'm on a roll.


Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2008-06-09 05:16:47 UTC (rev 15076)
+++ tor/trunk/src/or/main.c	2008-06-09 05:17:52 UTC (rev 15077)
@@ -641,7 +641,7 @@
   or_options_t *options = get_options();
 
   if (!router_have_minimum_dir_info()) {
-    quiet = directory_too_idle_to_fetch_descriptors(options, now);
+    int quiet = directory_too_idle_to_fetch_descriptors(options, now);
     log(quiet ? LOG_INFO : LOG_NOTICE, LD_DIR,
         "I learned some more directory information, but not enough to "
         "build a circuit: %s", get_dir_info_status_string());

Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2008-06-09 05:16:47 UTC (rev 15076)
+++ tor/trunk/src/or/routerlist.c	2008-06-09 05:17:52 UTC (rev 15077)
@@ -4235,7 +4235,7 @@
     control_event_bootstrap(BOOTSTRAP_STATUS_CONN_OR, 0);
   }
   if (!res && have_min_dir_info) {
-    quiet = directory_too_idle_to_fetch_descriptors(options, now);
+    int quiet = directory_too_idle_to_fetch_descriptors(options, now);
     log(quiet ? LOG_INFO : LOG_NOTICE, LD_DIR,
         "Our directory information is no longer up-to-date "
         "enough to build circuits: %s", dir_info_status);



More information about the tor-commits mailing list