aboutsummaryrefslogtreecommitdiff
path: root/src/core/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2023-09-05 16:06:54 -0400
committerRoger Dingledine <arma@torproject.org>2023-09-05 16:06:54 -0400
commit41f32961807bf0879147ba3ef35ead6b68306957 (patch)
tree8fc003c648b9b5395f580fcd9efa933e97de5092 /src/core/or
parent3b17635f46055e465a3c5c927edc2242fd58c5e1 (diff)
downloadtor-41f32961807bf0879147ba3ef35ead6b68306957.tar.gz
tor-41f32961807bf0879147ba3ef35ead6b68306957.zip
fix two simple typos in comments
Diffstat (limited to 'src/core/or')
-rw-r--r--src/core/or/connection_or.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/connection_or.c b/src/core/or/connection_or.c
index 343c1a67ed..30ce5e0c57 100644
--- a/src/core/or/connection_or.c
+++ b/src/core/or/connection_or.c
@@ -104,7 +104,7 @@ static void connection_or_check_canonicity(or_connection_t *conn,
/**
* Cast a `connection_t *` to an `or_connection_t *`.
*
- * Exit with an assertion failure if the input is not an `or_connnection_t`.
+ * Exit with an assertion failure if the input is not an `or_connection_t`.
**/
or_connection_t *
TO_OR_CONN(connection_t *c)
@@ -116,7 +116,7 @@ TO_OR_CONN(connection_t *c)
/**
* Cast a `const connection_t *` to a `const or_connection_t *`.
*
- * Exit with an assertion failure if the input is not an `or_connnection_t`.
+ * Exit with an assertion failure if the input is not an `or_connection_t`.
**/
const or_connection_t *
CONST_TO_OR_CONN(const connection_t *c)