aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2018-06-21 13:07:51 -0400
committerRoger Dingledine <arma@torproject.org>2018-06-21 13:07:51 -0400
commit471418befb9d1b30b17acd1e07a9d3de034db261 (patch)
tree712c8bbf97fb077a6c8f3a8258b916db8f5c07e6 /src
parentad7776f66d3e914a0842c20f31162c0e11befa34 (diff)
downloadtor-471418befb9d1b30b17acd1e07a9d3de034db261.tar.gz
tor-471418befb9d1b30b17acd1e07a9d3de034db261.zip
tiny comment and whitespace fixes
Diffstat (limited to 'src')
-rw-r--r--src/or/relay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 8a97d72f95..f74c4b4a94 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1796,15 +1796,15 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
return 0;
}
- /* Don't allow the other endpoint to request more than our maximim
- * (ie initial) stream SENDME window worth of data. Well-behaved
+ /* Don't allow the other endpoint to request more than our maximum
+ * (i.e. initial) stream SENDME window worth of data. Well-behaved
* stock clients will not request more than this max (as per the check
* in the while loop of connection_edge_consider_sending_sendme()).
*/
if (conn->package_window + STREAMWINDOW_INCREMENT >
STREAMWINDOW_START_MAX) {
static struct ratelim_t stream_warn_ratelim = RATELIM_INIT(600);
- log_fn_ratelim(&stream_warn_ratelim,LOG_PROTOCOL_WARN, LD_PROTOCOL,
+ log_fn_ratelim(&stream_warn_ratelim, LOG_PROTOCOL_WARN, LD_PROTOCOL,
"Unexpected stream sendme cell. Closing circ (window %d).",
conn->package_window);
return -END_CIRC_REASON_TORPROTOCOL;