Fix whitespace

This commit is contained in:
Nick Mathewson 2012-08-27 10:53:40 -04:00
parent 7795f42e4b
commit 5898c09c3a
4 changed files with 5 additions and 3 deletions

View File

@ -239,7 +239,7 @@ dir_connection_new(int socket_family)
} }
/** Allocate and return a new or_connection_t, initialized as by /** Allocate and return a new or_connection_t, initialized as by
* connection_init(). * connection_init().
* *
* Set timestamp_last_added_nonpadding to now. * Set timestamp_last_added_nonpadding to now.
* *

View File

@ -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; ap_out->port = node->rs->ipv6_orport;
} }
} }

View File

@ -1267,7 +1267,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
if (layer_hint) { if (layer_hint) {
if (layer_hint->package_window + CIRCWINDOW_INCREMENT > if (layer_hint->package_window + CIRCWINDOW_INCREMENT >
CIRCWINDOW_START_MAX) { 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, log_fn(LOG_WARN, LD_PROTOCOL,
"Bug/attack: unexpected sendme cell from exit relay. " "Bug/attack: unexpected sendme cell from exit relay. "
"Closing circ."); "Closing circ.");
@ -1280,7 +1280,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
} else { } else {
if (circ->package_window + CIRCWINDOW_INCREMENT > if (circ->package_window + CIRCWINDOW_INCREMENT >
CIRCWINDOW_START_MAX) { 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, log_fn(LOG_WARN, LD_PROTOCOL,
"Bug/attack: unexpected sendme cell from client. " "Bug/attack: unexpected sendme cell from client. "
"Closing circ."); "Closing circ.");

View File

@ -2788,3 +2788,4 @@ router_get_all_orports(const routerinfo_t *ri)
return sl; return sl;
} }