r11500@catbus: nickm | 2007-01-25 10:37:11 -0500

Fix argument types in printf: try to make buildbot happier.


svn:r9403
This commit is contained in:
Nick Mathewson 2007-01-25 15:37:14 +00:00
parent bf9baa85a8
commit 75db2a61cb

View File

@ -380,14 +380,14 @@ connection_ap_expire_beginning(void)
if (conn->_base.state == AP_CONN_STATE_SOCKS_WAIT) { if (conn->_base.state == AP_CONN_STATE_SOCKS_WAIT) {
/* extra debugging */ /* extra debugging */
log_fn(severity, LD_APP, log_fn(severity, LD_APP,
"Hints: inbuf len %d, socks: version %d, command %d, " "Hints: inbuf len %lu, socks: version %d, command %d, "
"has_finished %d, address %s, port %d.", "has_finished %d, address %s, port %d.",
buf_datalen(conn->_base.inbuf), (unsigned long)buf_datalen(conn->_base.inbuf),
conn->socks_request->socks_version, (int)conn->socks_request->socks_version,
conn->socks_request->command, conn->socks_request->command,
conn->socks_request->has_finished, conn->socks_request->has_finished,
conn->socks_request->address, conn->socks_request->address,
conn->socks_request->port); (int)conn->socks_request->port);
} }
} }
connection_mark_unattached_ap(conn, END_STREAM_REASON_TIMEOUT); connection_mark_unattached_ap(conn, END_STREAM_REASON_TIMEOUT);