diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-08-27 10:53:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-08-27 10:53:40 -0400 |
commit | 5898c09c3ab6c20df822ea919fecc9420a48aa7b (patch) | |
tree | c31f9cb5c48055e32c2b2c5f8ecb77a933c69bee | |
parent | 7795f42e4be2d04d3f40e227a094dbdce533b173 (diff) | |
download | tor-5898c09c3ab6c20df822ea919fecc9420a48aa7b.tar.gz tor-5898c09c3ab6c20df822ea919fecc9420a48aa7b.zip |
Fix whitespace
-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 c2244967de..7a39e5e2df 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 dc1fb2f121..26f159319f 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 a866d2d4ea..90129660b4 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 2131c2cf06..2cb0e26686 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; } + |