diff options
-rw-r--r-- | src/or/connection.c | 2 | ||||
-rw-r--r-- | src/or/nodelist.c | 1 | ||||
-rw-r--r-- | src/or/relay.c | 4 | ||||
-rw-r--r-- | src/or/router.c | 1 |
4 files changed, 5 insertions, 3 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index c2244967d..7a39e5e2d 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -239,7 +239,7 @@ dir_connection_new(int socket_family) } /** Allocate and return a new or_connection_t, initialized as by - * connection_init(). + * connection_init(). * * Set timestamp_last_added_nonpadding to now. * diff --git a/src/or/nodelist.c b/src/or/nodelist.c index dc1fb2f12..26f159319 100644 --- a/src/or/nodelist.c +++ b/src/or/nodelist.c @@ -870,3 +870,4 @@ node_get_pref_ipv6_orport(const node_t *node, tor_addr_port_t *ap_out) ap_out->port = node->rs->ipv6_orport; } } + diff --git a/src/or/relay.c b/src/or/relay.c index a866d2d4e..90129660b 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -1267,7 +1267,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ, if (layer_hint) { if (layer_hint->package_window + CIRCWINDOW_INCREMENT > CIRCWINDOW_START_MAX) { - /* XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/ + /*XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/ log_fn(LOG_WARN, LD_PROTOCOL, "Bug/attack: unexpected sendme cell from exit relay. " "Closing circ."); @@ -1280,7 +1280,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ, } else { if (circ->package_window + CIRCWINDOW_INCREMENT > CIRCWINDOW_START_MAX) { - /* XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/ + /*XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/ log_fn(LOG_WARN, LD_PROTOCOL, "Bug/attack: unexpected sendme cell from client. " "Closing circ."); diff --git a/src/or/router.c b/src/or/router.c index 2131c2cf0..2cb0e2668 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -2788,3 +2788,4 @@ router_get_all_orports(const routerinfo_t *ri) return sl; } + |