Parcourir la source

and get the log arguments right

svn:r5747
Roger Dingledine il y a 20 ans
Parent
commit
af54b73985
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/or/main.c

+ 2 - 1
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);
     }
   }