Fix format warning

svn:r4022
This commit is contained in:
Nick Mathewson 2005-04-06 05:44:05 +00:00
parent 94cecc712d
commit b34d9adb59

View File

@ -633,7 +633,7 @@ int connection_dns_process_inbuf(connection_t *conn) {
tor_assert(conn->type == CONN_TYPE_DNSWORKER); tor_assert(conn->type == CONN_TYPE_DNSWORKER);
if (conn->state != DNSWORKER_STATE_BUSY && buf_datalen(conn->inbuf)) { if (conn->state != DNSWORKER_STATE_BUSY && buf_datalen(conn->inbuf)) {
log_fn(LOG_WARN,"Bug: read data (%d bytes) from an idle dns worker. Please report.", buf_datalen(conn->inbuf)); log_fn(LOG_WARN,"Bug: read data (%d bytes) from an idle dns worker. Please report.", (int)buf_datalen(conn->inbuf));
#ifdef TOR_FRAGILE #ifdef TOR_FRAGILE
tor_assert(0); tor_assert(0);
#endif #endif