mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Fix format warning
svn:r4022
This commit is contained in:
parent
94cecc712d
commit
b34d9adb59
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user