[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master 9/9] whitespace fixes



Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
Date: Fri, 15 Jan 2010 15:58:35 -0500
Subject: whitespace fixes
Commit: b9f1bd3c4e665e90ad6f7cb6d34a687d635fe2cb

---
 doc/spec/dir-spec.txt |    8 ++++----
 src/or/connection.c   |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/spec/dir-spec.txt b/doc/spec/dir-spec.txt
index e1a8354..19a3202 100644
--- a/doc/spec/dir-spec.txt
+++ b/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
diff --git a/src/or/connection.c b/src/or/connection.c
index fe205f4..667e7dc 100644
--- a/src/or/connection.c
+++ b/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)) {
-- 
1.6.5