aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-07 14:12:17 -0500
committerNick Mathewson <nickm@torproject.org>2012-12-07 14:12:17 -0500
commit3fa9151f2610fdad23df02b2b914881286b22480 (patch)
treeef9f91dfb3c886a59cc591739dc7ddb6f8a703a5 /src/or/relay.c
parentcd4f56a37c3513cdca3463c3638067380af29219 (diff)
parent4458fd0cd8fa259f0ee8195e1aa86d5b7c6f8919 (diff)
downloadtor-3fa9151f2610fdad23df02b2b914881286b22480.tar.gz
tor-3fa9151f2610fdad23df02b2b914881286b22480.zip
Merge branch 'win64-7260'
Conflicts: src/or/dns.c
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index d862e58341..7f49299e2b 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1234,7 +1234,8 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
return 0;
}
/* XXX add to this log_fn the exit node's nickname? */
- log_info(domain,"%d: end cell (%s) for stream %d. Removing stream.",
+ log_info(domain,TOR_SOCKET_T_FORMAT": end cell (%s) for stream %d. "
+ "Removing stream.",
conn->base_.s,
stream_end_reason_to_string(reason),
conn->stream_id);
@@ -1556,7 +1557,8 @@ connection_edge_package_raw_inbuf(edge_connection_t *conn, int package_partial,
connection_fetch_from_buf(payload, length, TO_CONN(conn));
}
- log_debug(domain,"(%d) Packaging %d bytes (%d waiting).", conn->base_.s,
+ log_debug(domain,TOR_SOCKET_T_FORMAT": Packaging %d bytes (%d waiting).",
+ conn->base_.s,
(int)length, (int)connection_get_inbuf_len(TO_CONN(conn)));
if (sending_optimistically && !sending_from_optimistic) {