Browse Source

whitespace fixes

Roger Dingledine 14 years ago
parent
commit
b9f1bd3c4e
2 changed files with 5 additions and 5 deletions
  1. 4 4
      doc/spec/dir-spec.txt
  2. 1 1
      src/or/connection.c

+ 4 - 4
doc/spec/dir-spec.txt

@@ -1433,10 +1433,10 @@
    per second, and capped at some arbitrary value (currently 10 MB/s).
 
    The Measured= keyword on a "w" line vote is currently computed
-   by multiplying the previous published consensus bandwidth by the 
-   ratio of the measured average node stream capacity to the network 
-   average. If 3 or more authorities provide a Measured= keyword for 
-   a router, the authorities produce a consensus containing a "w" 
+   by multiplying the previous published consensus bandwidth by the
+   ratio of the measured average node stream capacity to the network
+   average. If 3 or more authorities provide a Measured= keyword for
+   a router, the authorities produce a consensus containing a "w"
    Bandwidth= keyword equal to the median of the Measured= votes.
 
    The ports listed in a "p" line should be taken as those ports for

+ 1 - 1
src/or/connection.c

@@ -2261,7 +2261,7 @@ connection_bucket_refill(int seconds_elapsed, time_t now)
     if (conn->write_blocked_on_bw == 1
         && global_write_bucket > 0 /* and we're allowed to write */
         && (!connection_counts_as_relayed_traffic(conn, now) ||
-            global_relayed_write_bucket > 0) /* even if we're relayed traffic */
+            global_relayed_write_bucket > 0) /* even if it's relayed traffic */
         && (!connection_speaks_cells(conn) ||
             conn->state != OR_CONN_STATE_OPEN ||
             TO_OR_CONN(conn)->write_bucket > 0)) {