mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
size_t int printf mucking
svn:r5194
This commit is contained in:
+1
-1
@@ -1120,7 +1120,7 @@ connection_dir_reached_eof(connection_t *conn)
|
||||
if (conn->purpose == DIR_PURPOSE_FETCH_SERVERDESC &&
|
||||
buf_datalen(conn->inbuf)>=(24*1024)) {
|
||||
log_fn(LOG_NOTICE, "Directory connection closed early after downloading %d bytes of descriptors. If this happens often, please file a bug report.",
|
||||
buf_datalen(conn->inbuf));
|
||||
(int)buf_datalen(conn->inbuf));
|
||||
}
|
||||
connection_close_immediate(conn); /* it was an error; give up on flushing */
|
||||
connection_mark_for_close(conn);
|
||||
|
||||
+1
-1
@@ -580,7 +580,7 @@ run_connection_housekeeping(int i, time_t now)
|
||||
if (conn->purpose == DIR_PURPOSE_FETCH_SERVERDESC &&
|
||||
buf_datalen(conn->inbuf)>=(24*1024)) {
|
||||
log_fn(LOG_NOTICE, "Expired a wedged directory connection that had already downloaded %d bytes of descriptors. If this happens often, please file a bug report.",
|
||||
buf_datalen(conn->inbuf));
|
||||
(int)buf_datalen(conn->inbuf));
|
||||
}
|
||||
connection_mark_for_close(conn);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user