Fix some wide lines

This commit is contained in:
Nick Mathewson 2012-12-07 14:14:20 -05:00
parent 3fa9151f26
commit c8056dcbbb
4 changed files with 8 additions and 6 deletions

View File

@ -319,7 +319,8 @@ connection_edge_end(edge_connection_t *conn, uint8_t reason)
connection_edge_send_command(conn, RELAY_COMMAND_END,
payload, payload_len);
} else {
log_debug(LD_EDGE,"No circ to send end on conn (fd "TOR_SOCKET_T_FORMAT").",
log_debug(LD_EDGE,"No circ to send end on conn "
"(fd "TOR_SOCKET_T_FORMAT").",
conn->base_.s);
}

View File

@ -880,8 +880,8 @@ connection_or_group_set_badness(or_connection_t *head, int force)
* and this one is open but not canonical. Mark it bad. */
log_info(LD_OR,
"Marking OR conn to %s:%d as unsuitable for new circuits: "
"(fd "TOR_SOCKET_T_FORMAT", %d secs old). It is not canonical, and we have "
"another connection to that OR that is.",
"(fd "TOR_SOCKET_T_FORMAT", %d secs old). It is not "
"canonical, and we have another connection to that OR that is.",
or_conn->base_.address, or_conn->base_.port, or_conn->base_.s,
(int)(now - or_conn->base_.timestamp_created));
connection_or_mark_bad_for_new_circs(or_conn);

View File

@ -1114,8 +1114,8 @@ connection_dns_remove(edge_connection_t *conn)
if (pend->conn == conn) {
resolve->pending_connections = pend->next;
tor_free(pend);
log_debug(LD_EXIT, "First connection (fd "TOR_SOCKET_T_FORMAT") no longer waiting "
"for resolve of %s",
log_debug(LD_EXIT, "First connection (fd "TOR_SOCKET_T_FORMAT") no "
"longer waiting for resolve of %s",
conn->base_.s,
escaped_safe_str(conn->base_.address));
return;

View File

@ -813,7 +813,8 @@ conn_close_if_marked(int i)
}
#endif
log_debug(LD_NET,"Cleaning up connection (fd "TOR_SOCKET_T_FORMAT").",conn->s);
log_debug(LD_NET,"Cleaning up connection (fd "TOR_SOCKET_T_FORMAT").",
conn->s);
/* If the connection we are about to close was trying to connect to
a proxy server and failed, the client won't be able to use that