mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Fix whitespace
This commit is contained in:
parent
7795f42e4b
commit
5898c09c3a
@ -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.
|
||||||
*
|
*
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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.");
|
||||||
|
@ -2788,3 +2788,4 @@ router_get_all_orports(const routerinfo_t *ri)
|
|||||||
|
|
||||||
return sl;
|
return sl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user