]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
tiny comment and whitespace fixes
authorRoger Dingledine <arma@torproject.org>
Thu, 21 Jun 2018 17:07:51 +0000 (13:07 -0400)
committerRoger Dingledine <arma@torproject.org>
Thu, 21 Jun 2018 17:07:51 +0000 (13:07 -0400)
src/or/relay.c

index 8a97d72f952971b3377690691e7689625e07c670..f74c4b4a945047983050396c477c43ae517ffc8b 100644 (file)
@@ -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;