diff options
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/directory.c | 2 | ||||
-rw-r--r-- | src/or/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 86e850c1a..729bd86a8 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -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); diff --git a/src/or/main.c b/src/or/main.c index ad55d9c48..f5b1d3fc2 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -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; |