[or-cvs] clean up some "warn" messages while i"m at it

Roger Dingledine arma at seul.org
Fri Mar 26 22:28:21 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	onion.c 
Log Message:
clean up some 'warn' messages while i'm at it


Index: onion.c
===================================================================
RCS file: /home/or/cvsroot/src/or/onion.c,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -d -r1.131 -r1.132
--- onion.c	19 Mar 2004 20:50:12 -0000	1.131
+++ onion.c	26 Mar 2004 22:28:16 -0000	1.132
@@ -207,7 +207,7 @@
   num_acceptable_routers = count_acceptable_routers(rarray, rarray_len);
 
   if(num_acceptable_routers < 2) {
-    log_fn(LOG_INFO,"Not enough acceptable routers. Failing.");
+    log_fn(LOG_INFO,"Not enough acceptable routers. Discarding this circuit.");
     return -1;
   }
 
@@ -459,7 +459,7 @@
     choice = router_get_by_nickname(state->chosen_exit);
     smartlist_free(excludednodes);
     if(!choice) {
-      log_fn(LOG_WARN,"Our chosen exit %s is no longer in the directory? Failing.",
+      log_fn(LOG_WARN,"Our chosen exit %s is no longer in the directory? Discarding this circuit.",
              state->chosen_exit);
       return -1;
     }
@@ -482,7 +482,7 @@
     }
     smartlist_free(excludednodes);
     if(!choice) {
-      log_fn(LOG_WARN,"No acceptable routers while picking entry node. Failing.");
+      log_fn(LOG_WARN,"No acceptable routers while picking entry node. Discarding this circuit.");
       return -1;
     }
   } else {
@@ -500,7 +500,7 @@
     smartlist_free(sl);
     smartlist_free(excludednodes);
     if(!choice) {
-      log_fn(LOG_WARN,"No acceptable routers while picking intermediate node. Failing.");
+      log_fn(LOG_WARN,"No acceptable routers while picking intermediate node. Discarding this circuit.");
       return -1;
     }
   }



More information about the tor-commits mailing list