[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] and get the log arguments right



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:
and get the log arguments right


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.608
retrieving revision 1.609
diff -u -p -d -r1.608 -r1.609
--- main.c	7 Jan 2006 01:41:17 -0000	1.608
+++ main.c	7 Jan 2006 01:43:09 -0000	1.609
@@ -489,9 +489,10 @@ conn_close_if_marked(int i)
       log_fn(severity, LD_NET, "Something wrong with your network connection? "
              "We tried to write %d bytes to addr %s (fd %d, type %s, state %d) "
              "but timed out. (Marked at %s:%d)",
+             (int)buf_datalen(conn->outbuf),
              safe_str(conn->address), conn->s, conn_type_to_string(conn->type),
              conn->state,
-             (int)buf_datalen(conn->outbuf), conn->marked_for_close_file,
+             conn->marked_for_close_file,
              conn->marked_for_close);
     }
   }