a more correct log message

svn:r5746
This commit is contained in:
Roger Dingledine 2006-01-07 01:41:17 +00:00
parent 654b61a2e8
commit ba339b8a4d

View File

@ -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,