summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-12-15 13:20:22 -0500
committerNick Mathewson <nickm@torproject.org>2009-12-15 13:20:22 -0500
commit1292a9ddfeef5d9560f4493d6767a10b181f031e (patch)
tree08e547c5c200b93ebd065e7a7fd3c7c82fc54f0b /src/or/or.h
parent2c672f73bfdcb4cf44a0dbcb4706b804d2273379 (diff)
downloadtor-1292a9ddfeef5d9560f4493d6767a10b181f031e.tar.gz
tor-1292a9ddfeef5d9560f4493d6767a10b181f031e.zip
Fix various comment typos in ewma patch; found by arma.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 8be84910f1..fd913ce4ef 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1083,7 +1083,7 @@ typedef struct or_connection_t {
* cell_ewma algorithm for choosing circuits, we can remove active_circuits.
*/
smartlist_t *active_circuit_pqueue;
- /** The tick on which the ciell_ewma_t's in active_circuit_pqueue last had
+ /** The tick on which the cell_ewma_ts in active_circuit_pqueue last had
* their ewma values rescaled. */
unsigned active_circuit_pqueue_last_recalibrated;
struct or_connection_t *next_with_same_id; /**< Next connection with same
@@ -2018,7 +2018,7 @@ typedef struct {
unsigned last_adjusted_tick;
/** The EWMA of the cell count. */
double cell_count;
- /** True iff this is a the cell count for a circuit's previous
+ /** True iff this is the cell count for a circuit's previous
* connection. */
unsigned int is_for_p_conn : 1;
/** The position of the circuit within the or connection's priority