[or-cvs] mark a couple of common warn messages as harmless

Roger Dingledine arma at seul.org
Fri Feb 4 02:52:45 UTC 2005


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

Modified Files:
      Tag: tor-0_0_9-patches
	connection.c connection_edge.c 
Log Message:
mark a couple of common warn messages as harmless


Index: connection.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.310.2.3
retrieving revision 1.310.2.4
diff -u -d -r1.310.2.3 -r1.310.2.4
--- connection.c	3 Feb 2005 23:05:39 -0000	1.310.2.3
+++ connection.c	4 Feb 2005 02:52:43 -0000	1.310.2.4
@@ -200,7 +200,7 @@
 
   if (conn->type == CONN_TYPE_AP || conn->type == CONN_TYPE_EXIT) {
     if (!conn->has_sent_end)
-      log_fn(LOG_WARN,"Bug: Edge connection hasn't sent end yet?");
+      log_fn(LOG_WARN,"Harmless bug: Edge connection hasn't sent end yet?");
   }
 
   switch (conn->type) {

Index: connection_edge.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.264.2.5
retrieving revision 1.264.2.6
diff -u -d -r1.264.2.5 -r1.264.2.6
--- connection_edge.c	4 Feb 2005 02:45:42 -0000	1.264.2.5
+++ connection_edge.c	4 Feb 2005 02:52:43 -0000	1.264.2.6
@@ -130,7 +130,7 @@
   circuit_t *circ;
 
   if (conn->has_sent_end) {
-    log_fn(LOG_WARN,"Bug: Calling connection_edge_end (reason %d) on an already ended stream?", reason);
+    log_fn(LOG_WARN,"Harmless bug: Calling connection_edge_end (reason %d) on an already ended stream?", reason);
     return -1;
   }
 



More information about the tor-commits mailing list