aboutsummaryrefslogtreecommitdiff
path: root/src/feature/stats/rephist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2022-07-05 15:18:29 -0400
committerRoger Dingledine <arma@torproject.org>2022-07-05 15:18:29 -0400
commit834745929a0b78aed84e1d5465db40c2fef759b3 (patch)
tree40598e4f46a0a2463595a92762f1b960550b2f3a /src/feature/stats/rephist.c
parentf181ad7c59da41840e58ab809550f29bdab9b14d (diff)
downloadtor-834745929a0b78aed84e1d5465db40c2fef759b3.tar.gz
tor-834745929a0b78aed84e1d5465db40c2fef759b3.zip
fix easy typos
Diffstat (limited to 'src/feature/stats/rephist.c')
-rw-r--r--src/feature/stats/rephist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/stats/rephist.c b/src/feature/stats/rephist.c
index 52bd94aba9..5738259262 100644
--- a/src/feature/stats/rephist.c
+++ b/src/feature/stats/rephist.c
@@ -2114,7 +2114,7 @@ static overload_onionskin_assessment_t overload_onionskin_assessment;
/**
* We combine ntorv3 and ntor into the same stat, so we must
- * use this function to covert the cell type to a stat index.
+ * use this function to convert the cell type to a stat index.
*/
static inline uint16_t
onionskin_type_to_stat(uint16_t type)
@@ -2137,7 +2137,7 @@ onionskin_type_to_stat(uint16_t type)
* the stats are reset back to 0 and the assessment time period updated.
*
* This is called when a ntor handshake is _requested_ because we want to avoid
- * to have an assymetric situation where requested counter is reset to 0 but
+ * to have an asymmetric situation where requested counter is reset to 0 but
* then a drop happens leading to the drop counter being incremented while the
* requested counter is 0. */
static void