[or-cvs] a more correct log message

arma at seul.org arma at seul.org
Sat Jan 7 01:41:20 UTC 2006


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

Modified Files:
	main.c 
Log Message:
a more correct log message


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.607
retrieving revision 1.608
diff -u -p -d -r1.607 -r1.608
--- main.c	31 Dec 2005 08:09:26 -0000	1.607
+++ main.c	7 Jan 2006 01:41:17 -0000	1.608
@@ -487,8 +487,8 @@ conn_close_if_marked(int i)
       else
         severity = LOG_NOTICE;
       log_fn(severity, LD_NET, "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)",
+             "We tried to write %d bytes to addr %s (fd %d, type %s, state %d) "
+             "but timed out. (Marked at %s:%d)",
              safe_str(conn->address), conn->s, conn_type_to_string(conn->type),
              conn->state,
              (int)buf_datalen(conn->outbuf), conn->marked_for_close_file,



More information about the tor-commits mailing list