From af54b739856b63086fbbabd894cef15cbe4d0013 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 7 Jan 2006 01:43:09 +0000 Subject: [PATCH] and get the log arguments right svn:r5747 --- src/or/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/or/main.c b/src/or/main.c index 935f351287..640a502fad 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -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); } }