[or-cvs] make a notice-level log make more sense.

arma at seul.org arma at seul.org
Wed Jul 13 21:12:36 UTC 2005

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

Modified Files:
Log Message:
make a notice-level log make more sense.

Index: main.c
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.525
retrieving revision 1.526
diff -u -d -r1.525 -r1.526
--- main.c	13 Jul 2005 05:14:42 -0000	1.525
+++ main.c	13 Jul 2005 21:12:33 -0000	1.526
@@ -460,7 +460,7 @@
       return 0;
     if (connection_wants_to_flush(conn)) {
-      log_fn(LOG_NOTICE,"Conn (addr %s, fd %d, type %s, state %d) is being closed, but there are still %d bytes we can't write. (Marked at %s:%d)",
+      log_fn(LOG_NOTICE,"Something wrong with your network connection? Conn (addr %s, fd %d, type %s, state %d) tried to write %d bytes but timed out. (Marked at %s:%d)",
              safe_str(conn->address), conn->s, conn_type_to_string(conn->type),
              (int)buf_datalen(conn->outbuf), conn->marked_for_close_file,

More information about the tor-commits mailing list