size_t int printf mucking

svn:r5194
This commit is contained in:
Roger Dingledine
2005-10-05 04:52:55 +00:00
parent 96c47c8478
commit adf04f121e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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;